- Home /
How to calculate ship position and rotation in a pipeline with raycasts
I'm developing a little game in which a spaceship navigate in a pipeline, and I need to push the ship down (with a little release and a floating effect) and let it turn and go forward in any direction. (the pipelines extends in all the three dimenctions X, Y and Z). If someone has some code snippet or at least a list of things to do to obtain this result please post it! I whink that it could be done even with barycventricCoordinates...
Your answer
Follow this Question
Related Questions
transform position and rotation of instantiated object 1 Answer
How to make a gameobject rotation equal to ray transform? 0 Answers
Instantiate Bullet Hole position and rotation, Vector3 issues 1 Answer
Raycast.normal vs collision.contacts[].normal which is better? 0 Answers
Position and rotate 3 sprites perpendicular to the edges of a triangle 1 Answer