Actor (Metroid Prime)

From Retro Modding Wiki
Revision as of 04:53, 8 February 2021 by imported>Antidote (Created page with "An '''Actor''' is a script object that enables the use of animated objects in Metroid Prime, such as flags, it's also used for crates and various other standable objects. Acto...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An Actor is a script object that enables the use of animated objects in Metroid Prime, such as flags, it's also used for crates and various other standable objects. Actors can also be affected by

Parameters

Offset Data Type Length Name Description
0x0 string N Instance Name
N+0x0 CVector3f 12 Position
N+0xC CVector3f 12 Scale
N+0x18 CVector3f 12 Collision Extent The extents of the Axis Aligned bounding box used for collision
N+0x24 CVector3f 12 Collision Offset The position of the Axis Aligned bounding box's center in worldspace
N+0x30 float 4 Mass How much mass the object has, this affects the object's acceleration and friction
N+0x34 float 4 Z Momentum The speed at which the object accelerates.
NOTE: This value is inverted at runtime, meaning a positive value will result in the object falling downward, while a negative one will result in it gaining height instead

States

Messages

ID Name Effect