Not Stable Yet!
This article is part of the Witcher 3 scripting community documentation, which is considered to be UNSTABLE until after the release of the Blood and Wine DLC. Edits to these pages may be overwritten without notice!
ISerializable > IScriptable > CObject > CNode
Public Functions
ApplyForceAtPointToPhysicalObject
ApplyLocalImpulseToPhysicalObject
ApplyTorqueImpulseToPhysicalObject
ApplyTorqueToPhysicalObject
GetEntity
import final function GetEntity() : CEntity
- Returns:
- Location:
- starts @ line 17, ends @ line 17
GetPhysicalObjectAngularVelocity
GetPhysicalObjectBoundingVolume
GetPhysicalObjectLinearVelocity
GetPhysicalObjectMass
import final function GetPhysicalObjectMass(optional actorIndex : int) : Float
- Parameters:
- optional actorIndex : int
- Returns:
- Float
- Location:
- starts @ line 41, ends @ line 41
HasCollisionType
HasDynamicPhysic
import final function HasDynamicPhysic() : bool
- Returns:
- Location:
- starts @ line 35, ends @ line 35
IsEnabled
SetEnabled
import final function SetEnabled(flag : bool)
- Parameters:
- flag : bool
- Location:
- starts @ line 23, ends @ line 23
SetPhysicalObjectAngularVelocity
SetPhysicalObjectLinearVelocity
SetPosition
import final function SetPosition(position : Vector)
- Parameters:
- position : Vector
- Location:
- starts @ line 26, ends @ line 26
SetRotation
import final function SetRotation(rotation : EulerAngles)
- Parameters:
- rotation : EulerAngles
- Location:
- starts @ line 29, ends @ line 29
SetScale
import final function SetScale(scale : Vector)
- Parameters:
- scale : Vector
- Location:
- starts @ line 32, ends @ line 32
SetShouldSave
import final function SetShouldSave(shouldSave : bool)
- Parameters:
- shouldSave : bool
- Location:
- starts @ line 48, ends @ line 48
SignalCustomEvent
Uninteresting Sub-Classes
These sub-classes have no public/protected members that are not overrides of their parent and have been merged here.
CNormalBlendComponent
import class CNormalBlendComponent extends CComponent
- Location:
- /engine/components.ws starts @ line 443, ends @ line 445
CScriptedComponent
import class CScriptedComponent extends CComponent
- Location:
- /game/components/scriptedComponent.ws starts @ line 8, ends @ line 10
CSpriteComponent
import class CSpriteComponent extends CComponent
- Location:
- /engine/components.ws starts @ line 451, ends @ line 453
CWayPointComponent
import class CWayPointComponent extends CSpriteComponent
- Location:
- /engine/components.ws starts @ line 459, ends @ line 461