Difference between revisions of "Bounce"

From Castle Wiki
(description)
 
(Fix rebound property name)
Line 1: Line 1:
'''Bounce''' is a [[behavior]] that allows dynamic actors to bounce off when colliding with solid actors.
'''Bounce''' is a [[behavior]] that allows dynamic actors to bounce when colliding with solid actors.


[[Solid]] needs to be enabled for '''Bounce''' to work.
[[Solid]] needs to be enabled for '''Bounce''' to work.


=== Properties ===
== Properties ==


* '''Strength''': Rate of actor's bounce (where 1 is 100%).
* '''Rebound''': The amount to bounce. A rebound of 1 means that the object will have the same speed before and after the collision, but in a different direction.

Revision as of 18:37, 14 May 2022

Bounce is a behavior that allows dynamic actors to bounce when colliding with solid actors.

Solid needs to be enabled for Bounce to work.

Properties

  • Rebound: The amount to bounce. A rebound of 1 means that the object will have the same speed before and after the collision, but in a different direction.