Skip to content

A3D_GetWorld

imshooter edited this page Oct 17, 2026 · 1 revision

The virtual world of a physics object.

native A3D_GetWorld(Physic:physicid);

Parameters

Parameter Description
Physic:physicid Physics object to read.

Returns

  • The world, -1 for every world.
  • -1 when physicid is not a physics object.

Remarks

-1 is both an object of every world and the answer for an id that is not a physics object. A3D_IsValidObject tells them apart.

Related

  • A3D_SetWorld: Move a physics object, a static object or a zone to another virtual world.

Home

Guides

Reference

Functions

Creating objects
Motion
Placement
Behaviour
Display and data
Rays
Shapes
Players, vehicles and actors
Map probes
Screen
Map objects
Water
Models and surfaces
Rotations and offsets
Vehicles
Routes
Route display
Walking
Callbacks

Clone this wiki locally