Difference between revisions of "Bounce"

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


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

Revision as of 18:38, 14 May 2022

Bounce is a behavior that causes 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.