Hay, Ok here is the problem. I have an asteroid traveling along a vector, and I want to turn/rotate the roid in the direction that its moving. as if its rolling through space.
Although im working in 3D its on a 2D plane, x,z
Second problem, I am using distance collision detection between each asteroid. so its circle to circle, Im trying to get them to reflect off of each other like a snooker ball would.
Now there is no mass involved, or extra force, so All im looking for is the new angle that each roind in the collision should be traveling along.
There are some really good examples of this already in the code archives but tbh its a little to much for me, so im looking for a really basic nuts and bolts example.
thanks in advance.
Although im working in 3D its on a 2D plane, x,z
Second problem, I am using distance collision detection between each asteroid. so its circle to circle, Im trying to get them to reflect off of each other like a snooker ball would.
Now there is no mass involved, or extra force, so All im looking for is the new angle that each roind in the collision should be traveling along.
There are some really good examples of this already in the code archives but tbh its a little to much for me, so im looking for a really basic nuts and bolts example.
thanks in advance.