- Home /
Question by
aducceschi · Mar 28 at 11:55 AM ·
rotationphysicsrigidbodytransform
How to know if rotating ball is rotating towards or away from camera.
Hi,
I'm trying to find out how to know if a rotating ball is rotating towards or away from the camera. (Basically I want to know if it has TopSpin or BackSpin from the point of view). I'm ignoring SideSpin because it will always exclusively be Top or Back for my purpose.
I have the balls AngularVelocity, the Direction vector of the point of view and the balls position.
The result must be calculated in one frame and it must work regardless of the balls position.
All help will be greatly appreciated.
Comment