Cocos2d-x  v3.17
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
PhysicsContactPostSolve Class Reference

Postsolve value generated when onContactPostSolve called. More...

Public Member Functions

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

Detailed Description

Postsolve value generated when onContactPostSolve called.

Member Function Documentation

float getRestitution ( ) const

Get restitution between two bodies.

var getRestitution ( )

Get restitution between two bodies.

local getRestitution ( )

Get restitution between two bodies.

float getFriction ( ) const

Get friction between two bodies.

var getFriction ( )

Get friction between two bodies.

local getFriction ( )

Get friction between two bodies.

Vec2 getSurfaceVelocity ( ) const

Get surface velocity between two bodies.

var getSurfaceVelocity ( )

Get surface velocity between two bodies.

local getSurfaceVelocity ( )

Get surface velocity between two bodies.


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