public

Inheritance Graph

graph BT
	SimplePhysics
	SimplePhysics --> AbstractNodeBehaviour
	click SimplePhysics "classMinSG_1_1SimplePhysics"
	click AbstractNodeBehaviour "classMinSG_1_1AbstractNodeBehaviour"

Description

SimplePhysics > AbstractNodeBehaviour

Protected Attributes

   
   
Geometry::Vec3 speed
   
float lastTime

Public Functions

   
   
  SimplePhysics( Node * node, Geometry::Vec3 v)
   
  SimplePhysics( Node * node)
   
  ~SimplePhysics()
   
behaviourResult_t doExecute()

Documentation

variable
MinSG::SimplePhysics::speed

protected
 
 
Geometry::Vec3 speed

Defined in MinSG/Ext/Behaviours/SimplePhysics.h:34


variable
MinSG::SimplePhysics::lastTime

protected
 
 
float lastTime

Defined in MinSG/Ext/Behaviours/SimplePhysics.h:35


function
MinSG::SimplePhysics::SimplePhysics

public
     
     
SimplePhysics( Node * node,
  Geometry::Vec3 v
)    

Defined in MinSG/Ext/Behaviours/SimplePhysics.h:27


function
MinSG::SimplePhysics::SimplePhysics

public
     
     
SimplePhysics( Node * node )

Defined in MinSG/Ext/Behaviours/SimplePhysics.h:28


function
MinSG::SimplePhysics::~SimplePhysics

public virtual
   
   
~SimplePhysics( )

Defined in MinSG/Ext/Behaviours/SimplePhysics.h:29


function
MinSG::SimplePhysics::doExecute

public virtual
   
   
behaviourResult_t doExecute( )

o Called every frame (if the behaviour is active).

Defined in MinSG/Ext/Behaviours/SimplePhysics.h:31