Skip to content

Bullet ​

INFO

Although Bullets are mutable, I would advise against writing to them outside of their actor.

Properties ​

id ​

luau
Bullet.id: string

The sequential ID of the bullet.

position ​

luau
Bullet.position: Vector3

The bullet's position. (this property should be set by a Mutator)

direction ​

luau
Bullet.direction: Vector3

The bullet's direction. (this property should be set by a Mutator)

distanceTraveled ​

luau
Bullet.distanceTraveled: number

The total distance the bullet has traveled.

INFO

This property is set automatically when using a Mutator.

information ​

luau
Bullet.information: any?

Extra information about the bullet. This is first set by Source:makeBullet.

Methods ​