Bounce Reflection

Pure
BounceReflection

Reflects IncomingVelocity off a surface defined by SurfaceNormal, scaled by Restitution (1.0 = perfectly elastic, 0.0 = no bounce).

Type: Pure (no side effects)
Category: Fortuna|Vector & Transform
Keywords: vector & transform

Inputs

NameTypeDefaultDescription
IncomingVelocityFVectorIncomingVelocity parameter
SurfaceNormalFVectorSurfaceNormal parameter
Restitutionfloat1.0Restitution parameter

Outputs

NameTypeDescription
ReturnValueFVectorReturnValue output

Example Use Cases

Example 1

Simulate a bouncing grenade without physics.

Example 2

Ricochet laser beams off reflective surfaces.