- Joined
- Dec 19, 2004
- Messages
- 110
I'm afraid points don't have a z value so you can't check for that..
But is there another way to check for the height of the terrain at a point?
It is for my projectile system. I made one that works perfectly whenever the terrain is flat. (just goes in a straight line until it collides with something)
But it looks kinda odd when the terrain goes up and the projectile (arrow) also goes up..
So I'm looking for good suggestions to make my projectile system work better with heights..
I was thinking about making the arrow stop when moving to a higher ground, and allowing it to move further when moving to a lower ground. Also when shooting it over cliffs. And I'd like to make the arrow fly 'smoothly' from high to low if it's possible... Any ideas?
But is there another way to check for the height of the terrain at a point?
It is for my projectile system. I made one that works perfectly whenever the terrain is flat. (just goes in a straight line until it collides with something)
But it looks kinda odd when the terrain goes up and the projectile (arrow) also goes up..
So I'm looking for good suggestions to make my projectile system work better with heights..
I was thinking about making the arrow stop when moving to a higher ground, and allowing it to move further when moving to a lower ground. Also when shooting it over cliffs. And I'd like to make the arrow fly 'smoothly' from high to low if it's possible... Any ideas?