Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: ToxicFrog on September 22, 2022, 01:44:06 PM
-
Hey Playmakers!
I could really use some help with Vector3 math here.
I have a Capsule (Rigidbody) with a child (Pink Cube) that is always looking at MainCamera.
I want to apply Torque Force to the Capsule at the location of the Green Sphere (which is a child of camera-facing Pink Square).
In other words, the Torque Force needs to tilt the capsule away from the camera, regardless of the Capsule's local rotation.
I hope that makes sense - I've attached an image to illustrate.
I appreciate any help and suggestions!
-
Hi.
I think that torque target should be parent of the pink cube or main parent