public class FixtureDef
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
density
The density, usually in kg/m^2
|
Filter |
filter
Contact filtering data;
|
float |
friction
The friction coefficient, usually in the range [0,1].
|
boolean |
isSensor
A sensor shape collects contact information but never generates a collision
response.
|
float |
restitution
The restitution (elasticity) usually in the range [0,1].
|
Shape |
shape
The shape, this must be set.
|
java.lang.Object |
userData
Use this to store application specific fixture data.
|
Constructor and Description |
---|
FixtureDef() |
public Shape shape
public java.lang.Object userData
public float friction
public float restitution
public float density
public boolean isSensor
public Filter filter
Copyright © 2017. All Rights Reserved.