hello!
i’ll try to explane it, but my english is really poor, so i’m sorry if it confuse.
actually as you can see from the picture i have a simple racetrack builded with a simple primitive plane, what i want to know if there is a way to know if with a certain speed * 0.5f of time player will be outside of the track if continue in that way, maybe as i wrote there is a mathematically way to check it… but i’m not good with it… anyone can help me?
to be more clearly, as i wrote on the picture if you continue to go forward in the z axis gameboject will fall over the road, that’s what i’m looking to check.
You have two other threads where you want to perform physics without Rigidbody, and you want to access parameters on another object without GetComponent. I wonder why you ask questions if you don’t want to use Unity?
About the prediction: put colliders on the side of the track, and perform a raycheck with a ray which is as long as the distance your player would go in that direction during the time you choose. If the raycast hit the collider on the side, the player would be out of the track at the end of the time period, otherwise not.