Entity/PhysicsInitMultiConvex

From Garry's Mod
Revision as of 09:26, 8 July 2014 by Kilburn (Talk | contribs)
Jump to: navigation, search
 Entity:PhysicsInitMultiConvex( )

Description

An advanced version of Entity:PhysicsInitConvex which initializes a physics object from multiple convex meshes.

This should be used for physics objects with a custom shape which cannot be represented by a single convex mesh.

Arguments

table vertices

A table consisting of tables of Vectors. Each sub-table defines a set of points to be used in the computation of one convex mesh.
Personal tools
Navigation