⚲
Lua
C++
Edit
CreateSphere
This function creates a new sphere model with a physics collider.
Syntax
Model
CreateSphere
(
World
world, number radius = 0.5, number sides = 16)
Parameter
Description
world
world to create the mdoel in
radius
cylinder radius
sides
number of sides
Returns
Returns a new model.
Copyright © 2024 Ultra Software.
All rights reserved.