- Home /
Question by
dimok135 · Nov 23, 2012 at 08:02 PM ·
camerascreencoordinatesrelativetransformdirection
TransformDirection gives the same coordinates as in input
Hello. I try to add force to my object relative to the screen:
rigidbody.AddForce(cam.transform.TransformDirection(Vector3( 300,0,0 )));
but it works the same as without TransformDirection. TransformDirection gives the same coordinates as in input that not relative to screen. I hope you will help. Thanks.
Comment