• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Questions about flying units

Status
Not open for further replies.
Level 7
Joined
Apr 5, 2011
Messages
245
1. I need to do collisions for flying units. They should interact with others the same as ground but still flying.
(I have solution with SetTerrainPathing. Does another (better) way exist?)

2. Here is my flying unit:
scrabs.jpg

How can I make this arc starting closer to cliff?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
#1
What do you meant by "interact" ?
The flying unit will not bypass above the ground unit but instead, treat the ground unit as obstacle and the only way to move forward, is to get around the ground unit ?

#2
The default arc created by Blizzard is like that.
Well, if you want that arc to start closer to the cliffs, you must trigger the ups and downs of flying units in your map by using this trigger function;
  • Animation - Change FlyingUnit flying height to FlyingHeight at Rate
Other calculations such as getting the GetLocationZ are needed too.
 
Level 7
Joined
Apr 5, 2011
Messages
245
#1
What do you meant by "interact" ?
The flying unit will not bypass above the ground unit but instead, treat the ground unit as obstacle and the only way to move forward, is to get around the ground unit ?
Flying units interact with each other like ground. Does not matter if collides with ground or not.
#2
The default arc created by Blizzard is like that.
Well, if you want that arc to start closer to the cliffs, you must trigger the ups and downs of flying units in your map by using this trigger function;
  • Animation - Change FlyingUnit flying height to FlyingHeight at Rate
Other calculations such as getting the GetLocationZ are needed too.
So, what the formula of this arc is, if I wanna make my own?
 
Status
Not open for further replies.
Top