|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Capsule shape used for collision. Z axis is capsule axis. 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. | |
| FKSphylElem & | opAssign (FKSphylElem 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 | |
Capsule | |
| FRotator | Rotation |
| Rotation of the capsule. | |
| float32 | Radius |
| Radius of the capsule. | |
| float32 | Length |
| This is of line-segment ie. add Radius to both ends to find total length. | |
| FVector | Center |
| Position of the capsule'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. | |
Capsule shape used for collision. Z axis is capsule axis.
| FKSphylElem & opAssign | ( | FKSphylElem | Other | ) |
| 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 capsule'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.
| float32 Length |
This is of line-segment ie. add Radius to both ends to find total length.
| FName Name |
User-defined name for this shape.
| float32 Radius |
Radius of the capsule.
| 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 capsule.