Attachment2D
Represents an attachment in 2d, usually used for 2D Physics.
Properties
| Property | Type | Default |
|---|---|---|
Position | Vector2 | Vector2.new(0, 0) |
Rotation | number | 0 |
Functions
GetWorldPosition
Gets the World Position.
Arguments
self: tableReturns
Vector2GetWorldRotation
Gets the World Rotation.
Arguments
self: tableReturns
numberAPI
instance:GetWorldPosition(self: table): Vector2
instance:GetWorldRotation(self: table): number