HolyLib Wiki

CreatePolyObject

  IPhysicsObject IPhysicsEnvironment:CreatePolyObject( CPhysCollide collide, number materialIndex, Vector origin, Angle angles, table objectparams_t )

Description

Creates a new IPhysicsObject in the environment.

Arguments

1CPhysCollide collide
2number materialIndex
3Vector origin
4Angle angles
5table objectparams_t

Returns