Show / Hide Table of Contents

Class MyCharacterRagdollComponent

Inheritance
System.Object
MyComponentBase
MyEntityComponentBase
MyCharacterComponent
MyCharacterRagdollComponent
Inherited Members
MyCharacterComponent.UpdateAfterSimulation10()
MyCharacterComponent.UpdateBeforeSimulationParallel()
MyCharacterComponent.UpdateAfterSimulation()
MyCharacterComponent.OnCharacterDead()
MyCharacterComponent.OnBeforeRemovedFromContainer()
MyCharacterComponent.NeedsUpdateAfterSimulation
MyCharacterComponent.NeedsUpdateAfterSimulationParallel
MyCharacterComponent.NeedsUpdateSimulation
MyCharacterComponent.NeedsUpdateAfterSimulation10
MyCharacterComponent.NeedsUpdateBeforeSimulation100
MyCharacterComponent.NeedsUpdateBeforeSimulation
MyCharacterComponent.NeedsUpdateBeforeSimulationParallel
MyCharacterComponent.Character
MyEntityComponentBase.Container
MyEntityComponentBase.Entity
MyEntityComponentBase.AttachSyncToEntity
MyEntityComponentBase.OnAfterAddedToContainer
MyEntityComponentBase.BeforeRemovedFromContainer
MyComponentBase.SetContainer(IMyComponentContainer)
MyComponentBase.GetAs<T>()
MyComponentBase.OnAddedToScene()
MyComponentBase.OnRemovedFromScene()
MyComponentBase.Serialize(Boolean)
MyComponentBase.Deserialize(MyObjectBuilder_ComponentBase)
MyComponentBase.Init(MyComponentDefinitionBase)
MyComponentBase.IsSerialized()
MyComponentBase.RemoveExistingComponentOnNewInsert
MyComponentBase.ContainerBase
Namespace: Sandbox.Game.Entities.Character.Components
Assembly: Sandbox.Game.dll
Syntax
public class MyCharacterRagdollComponent : MyCharacterComponent, IMyEntityComponentBase, IMyComponentBase

Constructors

MyCharacterRagdollComponent()

Declaration
public MyCharacterRagdollComponent()

Fields

Distance

Declaration
public float Distance
Field Value
Type Description
System.Single

RagdollMapper

Declaration
public MyRagdollMapper RagdollMapper
Field Value
Type Description
Sandbox.Engine.Physics.MyRagdollMapper

Properties

ComponentTypeDebugString

Declaration
public override string ComponentTypeDebugString { get; }
Property Value
Type Description
System.String
Overrides
MyCharacterComponent.ComponentTypeDebugString

IsRagdollActivated

Declaration
public bool IsRagdollActivated { get; }
Property Value
Type Description
System.Boolean

IsRagdollMoving

Declaration
public bool IsRagdollMoving { get; set; }
Property Value
Type Description
System.Boolean

Methods

InitDeadBodyPhysics()

Declaration
public void InitDeadBodyPhysics()

InitRagdoll()

Loads Ragdoll data

Declaration
public bool InitRagdoll()
Returns
Type Description
System.Boolean

InitRagdollMapper()

Declaration
public void InitRagdollMapper()

OnAddedToContainer()

Declaration
public override void OnAddedToContainer()
Overrides
MyCharacterComponent.OnAddedToContainer()

Simulate()

Declaration
public override void Simulate()
Overrides
MyCharacterComponent.Simulate()

UpdateAfterSimulationParallel()

Declaration
public override void UpdateAfterSimulationParallel()
Overrides
MyCharacterComponent.UpdateAfterSimulationParallel()

UpdateBeforeSimulation()

Declaration
public override void UpdateBeforeSimulation()
Overrides
MyCharacterComponent.UpdateBeforeSimulation()

UpdateBeforeSimulation100()

Declaration
public override void UpdateBeforeSimulation100()
Overrides
MyCharacterComponent.UpdateBeforeSimulation100()

UpdateCharacterPhysics()

Declaration
public void UpdateCharacterPhysics()

Extension Methods

MyEntityContainerEventExtensions.RegisterForEntityEvent(MyEntityComponentBase, MyStringHash, MyEntityContainerEventExtensions.EntityEventHandler)
MyEntityContainerEventExtensions.RegisterForEntityEvent(MyEntityComponentBase, MyEntity, MyStringHash, MyEntityContainerEventExtensions.EntityEventHandler)
MyEntityContainerEventExtensions.UnregisterForEntityEvent(MyEntityComponentBase, MyEntity, MyStringHash)
MyEntityContainerEventExtensions.RaiseEntityEvent(MyEntityComponentBase, MyStringHash, MyEntityContainerEventExtensions.EntityEventParams)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾