- Joined
- Aug 16, 2007
- Messages
- 847
I am working on a third person shooter map, and I am using mouselook, and as such you will be able to aim the gun, in 3 dimensions (Up and Down as well) instead of pointing the unit in the right direction, as is usually the case. But I have yet to work out just how to do this.
As depicted in screenshot above, I need the projectile to travel directly from the unit to the location that the target is pointing at.
Anyways to the point, I have seen some triggers that should allow me to direct the projectile, but my problem is detecting if it impacts with anything along the way.
I have looked through a bunch of triggers and such, and so far it looks like something to do with Actors will be the most promising. But unfortunately I have yet to find anything.
Does anyone know of any triggers or data fields (I have looked briefly at the Events+ field) that I can use to do that? Or better yet a better way to do what I am trying to accomplish.
Remember, this has to include collisions with doodads and not just units.
As depicted in screenshot above, I need the projectile to travel directly from the unit to the location that the target is pointing at.
Anyways to the point, I have seen some triggers that should allow me to direct the projectile, but my problem is detecting if it impacts with anything along the way.
I have looked through a bunch of triggers and such, and so far it looks like something to do with Actors will be the most promising. But unfortunately I have yet to find anything.
Does anyone know of any triggers or data fields (I have looked briefly at the Events+ field) that I can use to do that? Or better yet a better way to do what I am trying to accomplish.
Remember, this has to include collisions with doodads and not just units.