JointComponent

class JointComponent(gameEntity: GameEntity, componentInfo: ComponentInfo<JointComponentData> = ComponentInfo(JointComponentData())) : GameEntityDataComponent<JointComponentData> , PhysicsComponent

Constructors

Link copied to clipboard
constructor(gameEntity: GameEntity, componentInfo: ComponentInfo<JointComponentData> = ComponentInfo(JointComponentData()))

Properties

Link copied to clipboard
val actorA: RigidActor?
Link copied to clipboard
val actorB: RigidActor?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val dataState: MutableStateValue<JointComponentData>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var joint: Joint?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun applyComponent()
Link copied to clipboard
Link copied to clipboard
open override fun destroyComponent()
Link copied to clipboard
Link copied to clipboard
open fun getPhysicsWorld(scene: EditorScene): PhysicsWorld?
Link copied to clipboard
open fun onPhysicsUpdate(timeStep: Float)
Link copied to clipboard
open override fun onStart()
Link copied to clipboard
open fun onUpdate(ev: RenderPass.UpdateEvent)
Link copied to clipboard
open fun setPersistent(componentData: JointComponentData)