ammo-body.component overview
Table of contents
utils
AmmoBodyComponent (class)
Signature
export declare class AmmoBodyComponent<T> {
protected constructor(
protected readonly world: AmmoWorldComponent,
protected _nativeBody: T,
public readonly shape: Shape3DDescriptor
)
}
refreshCG (method)
Signature
abstract refreshCG(): void;
clone (method)
Signature
abstract clone(): AmmoBodyComponent<T>;
addToWorld (method)
Signature
addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void
removeFromWorld (method)
Signature
removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void
dispose (method)
Signature
dispose(): void
name (property)
Signature
name: string
entity (property)
Signature
entity: any
addedToWorld (property)
Signature
addedToWorld: boolean
_interactWithCGsMask (property)
Signature
_interactWithCGsMask: any
_ownCGsMask (property)
Signature
_ownCGsMask: any