Object Game Settings

Gun And Bullet Settings

Gun And Bullet Settings let any configured physics object fire another preview object as a projectile.

What it controls

What this group controls

Use this page as the detailed reference for the Gun And Bullet Settings group inside the Object Game Settings menu.

Gun Object

A gun object is any physics object marked as a gun and linked to a bullet preview object.

Bullet Object

The bullet is another preview object whose bullet data controls speed, angle offset, firing distance, spread, and radius variation.

Firing Sources

A gun can fire on creation, on contact, on a control button, on touch, or automatically on a timer.

Ammo Rules

A gun can have infinite bullets or a limited initial bullet count.

Controls reference

Controls in this panel

These are the controls exposed by the in-game Gun And Bullet Settings panel. Some controls appear only for object types that support that feature.

Is Object Gun

Marks the selected object as a gun that can fire a linked bullet object.

Gun Bullet Object

Chooses the preview object that will be cloned and fired as the bullet.

Fire Gun With Control Button

Fires gun with control button when the configured condition occurs.

Fire Gun On Touch

Fires gun on touch when the configured condition occurs.

Fire Gun On Create

Fires gun on create when the configured condition occurs.

Fire Gun On Only When Visible

Fires gun on only when visible when the configured condition occurs.

Is Automatic Gun

Marks or enables the selected object as automatic gun.

Minimum Delay Between Bullets

Sets the minimum delay between bullets used by this rule.

Start Auto Firing On Create

Starts auto firing on create when the configured condition is met.

Use Gun Fixed Firing Angle

Uses gun fixed firing angle instead of the default behavior.

Gun Fixed Firing Angle

Sets the angle used by gun fixed firing.

Change Gun Fixed Firing Angle With Move Controls

Sets or controls the change gun fixed firing angle with move controls value in the Gun And Bullet Settings panel.

Fire Gun On Contact

Fires gun on contact when the configured condition occurs.

Minimum Force To Fire Gun On Contact

Sets the minimum force to fire gun on contact used by this rule.

Gun Has Infinite Bullets

Sets or controls the gun has infinite bullets value in the Gun And Bullet Settings panel.

Gun Initial Bullets Count

Sets how many gun initial bullets are used.

Is Gun Bullet

Marks this object as bullet munition so its bullet launch settings can be edited.

Bullet Speed

Sets the launch speed applied to fired bullet instances.

Bullet Angle Offset

Rotates the bullet display/body relative to the firing direction.

Bullet Gun Angle Offset

Offsets the firing direction relative to the gun angle.

Bullet Fire Distance Offset

Sets how far from the gun center the bullet spawns.

Randomize Bullet Fire Radius

Randomizes bullet fire radius within the configured range.

Bullet Fire Minimum Radius

Sets the radius used by bullet fire minimum.

Bullet Fire Maximum Radius

Sets the radius used by bullet fire maximum.

Fire Bullet At Fixed Radius Range

Fires bullet at fixed radius range when the configured condition occurs.

Bullet Fire Fixed Radius Range

Sets or controls the bullet fire fixed radius range value in the Gun And Bullet Settings panel.

Randomize Bullet Fire Angle

Randomizes bullet fire angle within the configured range.

Bullet Random Fire Angle Range

Sets or controls the bullet random fire angle range value in the Gun And Bullet Settings panel.

Fire Bullet At Fixed Angle Range

Fires bullet at fixed angle range when the configured condition occurs.

Bullet Fire Fixed Angle Range

Sets or controls the bullet fire fixed angle range value in the Gun And Bullet Settings panel.

Fire Bullets At Once Count

Sets how many bullet instances are created for one fire event.

How it works

How it behaves during play

These points describe what the system does after the level starts and the editor data becomes live gameplay behavior.

Fire Request

When a firing condition happens, the gun is queued to fire and checked for visibility, ammo, and valid bullet data.

Angle Calculation

The firing angle comes from the gun rotation or a fixed configured angle, plus bullet angle offsets.

Bullet Spawn

The game clones the bullet preview object, places it at the firing offset, rotates it, and gives it launch velocity.

Spread And Multi-Shot

Multiple bullets can be fired at once with fixed spread, random angle range, random radius, or fixed radius range.

Setup flow

Practical setup checklist

Use this checklist while building or debugging a level that uses Gun And Bullet Settings.

Create The Bullet First

Make a bullet preview object and tune its physics before linking it to the gun.

Choose Fire Mode

Use create for traps, contact for impact weapons, control button for player action, and automatic for turrets.

Tune Speed And Offset

The bullet should spawn outside the gun body and move fast enough to read without tunneling through targets.

Test Ammo

If ammo is limited, make sure the player has enough shots and that re-arming logic is clear.