Ask a Question related to Macromedia Director 3D, Design and Development.
-
SuperTank #1
Rotation between two transform.rotation vectors.
Hello,
I think my subject is pretty straight forward. :)
I am looking for a way for my 3D character to slowly rotate between two
vectors. The rotation vectors is results from the rotation property of
GetWorldTransform().
My first idea was to somehow convert the two vectors into degrees and with the
help with that information then simple use the rotation()-function.
All help would be highly appreciated, thanks. :)
Thanks!
SuperTank Guest
-
transform.rotation.y in javascript
Hi, How do you write: member("theModel").model("furniture_group").transform.rotation.y = 200 ... in javascrippt? I've tried: var myModel =... -
transform.rotation gives me headache
Hello Im working with an Adventure game like Grim fandango. Currently im working on this script; when you get close to an interactive obejct,... -
rotation
> I'm trying to create a animation (flash 5) with an object rotation. http://www.macromedia.com/support/flash/ts/documents/center_point.htm ... -
rotating about parent and "self" with transform.rotation?
Hi is it possible to first rotate a model about its parent node and then rotate it about its own axis (or vice versa - that doesn't matter. The... -
rotation error when using transform
hi all, when i use the transform.rotation to adjust the x and z axis data to 0, the y axiz data will get error(e,g, 76 degree) ..... because the... -
duckets #2
Re: Rotation between two vectors
Check out the "interpolateTo()" command in the help. Should do what you want!
hope this helps,
- Ben
duckets Guest
-
SuperTank #3
Re: Rotation between two vectors
Thank you duckets. :)
However, interpolateTo( ) seems to depend on the game's FPS-rate, which I
rather want to skip. I am currently working on a network game and therefore,
timebased movement is required.
SuperTank Guest
-
duckets #4
Re: Rotation between two vectors
The interpolate() and interpolateTo() commands accept a percentage value as the
second parameter, so you should be able to specify what percentage of the
interpolation you want, at the current point in time, as a factor of your time
delta.
- Ben
duckets Guest



Reply With Quote

