Cocos2d-x  4.0.0
Public Member Functions | List of all members
PhysicsContactPostSolve Class Reference

Postsolve value generated when onContactPostSolve called. More...

Public Member Functions

float getRestitution () const
 Get restitution between two bodies.
 
float getFriction () const
 Get friction between two bodies.
 
Vec2 getSurfaceVelocity () const
 Get surface velocity between two bodies.
 

Detailed Description

Postsolve value generated when onContactPostSolve called.

Member Function Documentation

float getRestitution ( ) const

Get restitution between two bodies.

float getFriction ( ) const

Get friction between two bodies.

Vec2 getSurfaceVelocity ( ) const

Get surface velocity between two bodies.


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