Kinemium Docs

Attachment2D

Represents an attachment in 2d, usually used for 2D Physics.

Properties

PropertyTypeDefault
PositionVector2Vector2.new(0, 0)
Rotationnumber0

Functions


GetWorldPosition

Gets the World Position.

Arguments

self: table

Returns

Vector2

GetWorldRotation

Gets the World Rotation.

Arguments

self: table

Returns

number

API

instance:GetWorldPosition(self: table): Vector2
instance:GetWorldRotation(self: table): number

On this page