Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PhysicsImpostorParameters

The interface for the physics imposter parameters

see

https://doc.babylonjs.com/how_to/using_the_physics_engine

Hierarchy

  • PhysicsImpostorParameters

Index

Properties

Optional dampingSearch playground for damping

damping: number

The collision margin around a soft object

Optional disableBidirectionalTransformationSearch playground for disableBidirectionalTransformation

disableBidirectionalTransformation: boolean

Specifies if bi-directional transformations should be disabled

Optional fixedPointsSearch playground for fixedPoints

fixedPoints: number

The number used to fix points on a cloth (0, 1, 2, 4, 8) or rope (0, 1, 2) only 0 None, 1, back left or top, 2, back right or bottom, 4, front left, 8, front right Add to fix multiple points

Optional frictionSearch playground for friction

friction: number

The friction of the physics imposter

Optional ignoreParentSearch playground for ignoreParent

ignoreParent: boolean

Specifies if the parent should be ignored

Optional marginSearch playground for margin

margin: number

The collision margin around a soft object

massSearch playground for mass

mass: number

The mass of the physics imposter

Optional nativeOptionsSearch playground for nativeOptions

nativeOptions: any

The native options of the physics imposter

Optional pathSearch playground for path

path: any

The path for a rope based on an extrusion

Optional positionIterationsSearch playground for positionIterations

positionIterations: number

The number of iterations used in maintaining consistent vertex positions, soft object only

Optional pressureSearch playground for pressure

pressure: number

The pressure inside the physics imposter, soft object only

Optional restitutionSearch playground for restitution

restitution: number

The coefficient of restitution of the physics imposter

Optional shapeSearch playground for shape

shape: any

The shape of an extrusion used for a rope based on an extrusion

Optional stiffnessSearch playground for stiffness

stiffness: number

The stiffness the physics imposter, soft object only

Optional velocityIterationsSearch playground for velocityIterations

velocityIterations: number

The number of iterations used in maintaining consistent vertex velocities, soft object only

Legend

  • Property
  • Method
  • Constructor
  • Property
  • Static method