• 🏆 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!

Get wall angle (wall bouncing missile)

Status
Not open for further replies.
Level 21
Joined
Apr 8, 2017
Messages
1,530
FOR HORIZONTAL WALLS
Set angle[1] = (Facing of (Picked unit))
Set angle[2] = (360.00 - angle[1])

FOR VERTICAL WALLS

Set angle[1] = (Facing of (Picked unit))
Set angle[2] = (360.00 - angle[1])
Set angle[2] = (angle[2] - 180.00)

But how can i get the wall angle? please help
Im trying to do a wall-bounce missile, it works good but now i need to get the wall orientation :/
 
Status
Not open for further replies.
Top