Godot Nature of Code  1.2.0
Nature of Code implemented in Godot Engine
Public Member Functions | List of all members
VerletPhysics.IBehavior Interface Reference

Behavior interface. More...

Inheritance diagram for VerletPhysics.IBehavior:
VerletPhysics.AttractionBehavior VerletPhysics.GravityBehavior

Public Member Functions

void ApplyBehavior (VerletPoint point, float delta)
 Apply behavior to a verlet point. More...
 

Detailed Description

Behavior interface.

Definition at line 6 of file IBehavior.cs.

Member Function Documentation

◆ ApplyBehavior()

void VerletPhysics.IBehavior.ApplyBehavior ( VerletPoint  point,
float  delta 
)

Apply behavior to a verlet point.

Parameters
pointVerlet point
deltaDelta time

Implemented in VerletPhysics.GravityBehavior, and VerletPhysics.AttractionBehavior.


The documentation for this interface was generated from the following file: