Forum

> > CS2D > Scripts > Bouncing direction
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Bouncing direction

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Bouncing direction

Baloon
GAME BANNED Off Offline

Zitieren
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˚

alt Re: Bouncing direction

Rainoth
Moderator Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht