|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Box shape used for collision. More...
Public Member Functions | |
Functions | |
| void | SetbContributeToMass (bool Value) |
| True if this shape should contribute to the overall mass of the body it belongs to. This lets you create extra collision volumes which do not affect the mass properties of an object. | |
| FKBoxElem & | opAssign (FKBoxElem Other) |
| Public Member Functions inherited from FKShapeElem | |
| void | SetbContributeToMass (bool Value) |
| True if this shape should contribute to the overall mass of the body it belongs to. This lets you create extra collision volumes which do not affect the mass properties of an object. | |
| FKShapeElem & | opAssign (FKShapeElem Other) |
Public Attributes | |
Box | |
| FRotator | Rotation |
| Rotation of the box. | |
| float32 | X |
| Extent of the box along the y-axis. | |
| float32 | Y |
| Extent of the box along the y-axis. | |
| float32 | Z |
| Extent of the box along the z-axis. | |
| FVector | Center |
| Position of the box's origin. | |
Shape | |
| FName | Name |
| User-defined name for this shape. | |
| ECollisionEnabled | CollisionEnabled |
| Course per-primitive collision filtering. This allows for individual primitives to be toggled in and out of sim and query collision without changing filtering details. | |
| float32 | RestOffset |
| Offset used when generating contact points. This allows you to smooth out the Minkowski sum by radius R. Useful for making objects slide smoothly on top of irregularities. | |
| Public Attributes inherited from FKShapeElem | |
| FName | Name |
| User-defined name for this shape. | |
| ECollisionEnabled | CollisionEnabled |
| Course per-primitive collision filtering. This allows for individual primitives to be toggled in and out of sim and query collision without changing filtering details. | |
| float32 | RestOffset |
| Offset used when generating contact points. This allows you to smooth out the Minkowski sum by radius R. Useful for making objects slide smoothly on top of irregularities. | |
Box shape used for collision.
| void SetbContributeToMass | ( | bool | Value | ) |
True if this shape should contribute to the overall mass of the body it belongs to. This lets you create extra collision volumes which do not affect the mass properties of an object.
| FVector Center |
Position of the box's origin.
| ECollisionEnabled CollisionEnabled |
Course per-primitive collision filtering. This allows for individual primitives to be toggled in and out of sim and query collision without changing filtering details.
| FName Name |
User-defined name for this shape.
| float32 RestOffset |
Offset used when generating contact points. This allows you to smooth out the Minkowski sum by radius R. Useful for making objects slide smoothly on top of irregularities.
| FRotator Rotation |
Rotation of the box.
| float32 X |
Extent of the box along the y-axis.
| float32 Y |
Extent of the box along the y-axis.
| float32 Z |
Extent of the box along the z-axis.