Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: SERG__ZV on January 03, 2014, 03:10:08 PM
-
I have ball (rightbody object) & follow for him another object. In motion ball rotate. I can't add torque ball because axis every time change. I can't add torque in global coordinates because when I want to turn for example to the right axis should exchange respectively view camera which turned with the object Followed behind the ball. But I could copy the line of sight Followed object & add torque ball in him (followed object) local space axis. Such as
move forwards, move back, move left, move right. Question how do i do in playmaker ?
-
it seems that it is time to learn C # :)
-
Hello,
You might be looking for the Transform Direction Action.
Have you checked out the Marble Game example?
https://hutonggames.fogbugz.com/default.asp?W881
Also, this post might be helpful.
http://hutonggames.com/playmakerforum/index.php?topic=5065.0
-
Hi,
Good links to check.
Also, don't add torque, simply add a force that points to your target. the result will be the same.
bye,
Jean
-
http://wiki.unity3d.com/index.php/TorqueLookRotation
If you want to apply torque to look at something, the method is basically that.