gamvas.physics.UserData

Description

Holds information about the object related to a a physics object

Constructor

new gamvas.physics.UserData(type, data);

Parameters

typea string to identify the type of the data
datathe data object
Summary
gamvas.physics.UserDataHolds information about the object related to a a physics object
Variables
typeType object type (e.g.
dataThe actual object

Variables

type

this.type

Description

Type object type (e.g.  ‘actor’)

data

this.data

Description

The actual object

this.type
Type object type (e.g.
this.data
The actual object
Close