pub unsafe fn create_object(
component: *mut IObjectsComponent,
model: i32,
position: Vector3,
rotation: Vector3,
draw_distance: f32,
) -> *mut IObjectExpand description
IObjectsComponent::create(modelID, position, rotation, drawDistance).
A draw_distance of 0.0 asks the server for its default. Returns null
when the object pool is full.
ยงSafety
component must be a live IObjectsComponent.