07.11.2009, 03:48
Ok so i've been wondering how to do this.
Like i want people to be able to spawn objects like explosive barrels or whatever. (For DMs)
This works fine but i want the objects to spawn behind the player.
Like if they were facing south (180) then the object spawns behind them (or north of them).
If they are facing North-west, the object spawns to the South-east of them (behind them).
I've seen this done before, I'm just not sure how.
Can anyone help?
Nevermind, i figured it out .
Like i want people to be able to spawn objects like explosive barrels or whatever. (For DMs)
This works fine but i want the objects to spawn behind the player.
Like if they were facing south (180) then the object spawns behind them (or north of them).
If they are facing North-west, the object spawns to the South-east of them (behind them).
I've seen this done before, I'm just not sure how.
Can anyone help?
Nevermind, i figured it out .