• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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