Jump to content
Sign in to follow this  
rakowozz

3D Control vs. ctrlSetPosition

Recommended Posts

So, in order to make an object wiggle, I was trying to relate ctrlPosition with ctrlSetPosition. But I couldn't quite establish this relation. I want to use, say,

_currentpos = ctrlPosition _ctrl;

_ctrl ctrlSetPosition [((_currentpos) select 0) + X,1,((_currentpos) select 2) + Z];

But while I know it's relative position here, I'm confused. I can't find the reference. No matter what number I use, all zeros or not, the control will move away. How exactly do I relate these coordinates with 3D controls?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×