09-08-2025, 09:47 AM
Hi Marcus,
I would like to put two models of md2 on the left (texture2) and and on the right (texture1),
[attachment=500][attachment=501]
click the images to zoom in
so they should stand face to face and ready to fight (such as in Street Fighter).
Question #1
What's wrong with this code ? only 1 texture model is drawn.
Question #2
What is the best way for collision detection between the 3D models ?
You may reply on the weekend, when you are not working. Don't worry, it's not urgent.
Thank you
I would like to put two models of md2 on the left (texture2) and and on the right (texture1),
[attachment=500][attachment=501]
click the images to zoom in
so they should stand face to face and ready to fight (such as in Street Fighter).
Question #1
What's wrong with this code ? only 1 texture model is drawn.
Code:
'model 1: Translate and rotate.
pos = 1.5 'on the right
S3D_Translate(pos, 0.25, distance)
S3D_RotateY(rad(rotY))
S3D_Texture(texture)
anim.Render(model)
'model 2
pos = -1 'on the left
S3D_Translate(-1, 0.25, distance)
S3D_RotateY(rad(rotY))
S3D_Texture(texture2)
anim.Render(model)Question #2
What is the best way for collision detection between the 3D models ?
You may reply on the weekend, when you are not working. Don't worry, it's not urgent.
Thank you
