Lua
C++
Edit

CreateCylinder

This function creates a new cylinder model with a physics collider.

Syntax

Parameter Description
world world to create the mdoel in
radius cylinder radius
height cylinder height
sides number of sides
heightsegs number of segments along the Y axis
capsegs number of end cap subdivisions

Returns

Returns a new model.

Copyright © 2024 Ultra Software.
All rights reserved.