Page 1 of 1

[Implemented] 3D

Posted: Wed Sep 24, 2003 6:05 am
by Comtois
there is EntityX(#Entity) idem for Y and Z, but there is not
EntityAngleX(#Entity) idem for the angle Y and Z idem for the camera.

The reference mark for rotations is different from the reference mark
for the translations.
Example if I write RotateEntity(#Entity, 1,0, 0)
Entity turns on the y axis.There is only the axis of Z which is common for the translations and rotations.

It would be interesting to have an ordering of absolute rotation a
little as for displacement, there is a relative displacement, and an
absolute displacement
Exemple : RotateEntityY(#Entity, 90) place the entity with 90° on the Y axis.

Another order which would be interesting
MoveDirectionEntity(#Entity,2)
makes it possible to advance the entity of 2 units on plan X,Z according to the angle Y

Afflicted for the bad translation, I use Systran :)

Posted: Fri Sep 26, 2003 6:10 am
by Comtois
after some additional tests, I ended up including/understanding how
rotationEntity functions does it of it is a rotation compared to the
axes of the entity and not compared to the axes of the world 3d. Ok,
that should help me for the continuation to know exactly how this
instruction work :)