Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / Animation / Show trajectory with regard to an animated object instead of world
  RSS 2.0 ATOM  

Show trajectory with regard to an animated object instead of world
Rate this thread
 
33265
 
Permlink of this thread  
avatar
  • MLB
  • Posted: 17 August 2009 04:51 AM
  • Total Posts: 362
  • Joined: 21 July 2008 11:22 AM

Show trajectory always shows the trajectory of an object with regard to the world.
Is it possible to show the trajectory of an object with regard to another (animated) object?

Setup is thus:
I have an animated point helper and an animated plane. I’d like to see the trajectory of the intersection point between a ray from the point helper and the plane, with regard to the plane: the trajectory you’d see from a camera linked to the plane and looking along a normal of the plane.

Position script for the intersection point:

local testray ray basepoint.position [0,0,1]
ipoint 
intersectRay plane testray
if ipoint == undefined then
[0
,0,0]
else
ipoint.position

This works, however turning on trajectories for the intersection point gives the trajectory with regard to the world…



3D Studio DOS to 3ds Max 2010
Windows XP 64
NVidia Quadro FX 3700
Dual Quad Xeon, 6Gb Ram

Replies: 0
avatar
  • MLB
  • Posted: 07 March 2010 09:33 PM

I still need this. Can anybody help?

MLB



3D Studio DOS to 3ds Max 2010
Windows XP 64
NVidia Quadro FX 3700
Dual Quad Xeon, 6Gb Ram

Replies: 0