Forum

> > CS2D > Scripts > Bouncing direction
Forums overviewCS2D overview Scripts overviewLog in to reply

English Bouncing direction

3 replies
To the start Previous 1 Next To the start

old Bouncing direction

Baloon
GAME BANNED Off Offline

Quote
Hello Unreal Software,

I want to know, is there a function returns a direction after bouncing?

Example:
• Grenade direction (before bouncing) = 45˚
• The wall / obstacle direction = horizontal.
> Result = 135˚

old Re: Bouncing direction

Rainoth
Moderator Off Offline

Quote
No, there's no such function in CS2D but it can be easily scripted.
user Waldin's suggested file should have the calculations for it somewhere.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview