• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

This is some hard stuff

Status
Not open for further replies.

mkay

M

mkay

Alright, I have a question

So basically im moving this unit with X and Y speeds.
Move unit to position of unit offset by X and Y
X would be X speed and Y would be Y speed

if the speed of x is negative, it goes left, understand?

now that you know that, heres my question
When this unit runs into a wall, how do i get it to bounce?

I spent like 2 hours thinking, my brain died....
angles to x y forces.... wtf.... brain dead

help me plz :sad:
 
umm coud you like make the walls another terrain type and then when a units enters the terrain type you coud instead of making the unit go X make the unit go Y because then it will go the opposite direction?

I dont know man :P, this is waay to complicated :)
 
ITS HARD STUFF :
Create regions for all walls
+ a unit enters Firstwall<gen> <----1ST WALL
a unit enters Second wall<gen> <----2nd WALL
ETC.
and then move the triggering unit to a random point in ofset of that region
REALLY HARD(Knock back style)
 
Status
Not open for further replies.
Back
Top