Class RotatingMovementComponent
Performs continuous rotation of a component at a specific rotation rate.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class RotatingMovementComponent : MovementComponent
Remarks
Rotation can optionally be offset around a pivot point. Collision testing is not performed during movement.
Properties
| Improve this Doc View SourcebRotationInLocalSpace
Declaration
public bool bRotationInLocalSpace { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static RotatingMovementComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
RotatingMovementComponent |
PivotTranslation
Translation of pivot point around which we rotate, relative to current rotation.
Declaration
public Vector PivotTranslation { get; set; }
Property Value
Type | Description |
---|---|
Vector |
Remarks
For instance, with PivotTranslation set to (X=+100, Y=0, Z=0), rotation will occur around the point +100 units along the local X axis from the center of the object, rather than around the object's origin (the default).
RotationRate
How fast to update roll/pitch/yaw of the component we update.
Declaration
public Rotator RotationRate { get; set; }
Property Value
Type | Description |
---|---|
Rotator |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static RotatingMovementComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
RotatingMovementComponent |
Operators
| Improve this Doc View SourceImplicit(IntPtr to RotatingMovementComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator RotatingMovementComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
RotatingMovementComponent |