physcollide
physcollide
Methods
Creates a CPhysCollide from the given mins & maxs.
Creates a CPhysConvex from the given mins & maxs.
Returns the AABB of the given
CPhysCollide
Vector physcollide.CollideGetExtent( CPhysCollide collide, Vector origin, Angle rotation, Vector direction )
Get the support map for a collide in the given direction.
Gets the mass center of the CPhysCollide.
get the approximate cross-sectional area projected orthographically on the bbox of the collide
These are fractional areas - unitless. Basically this is the fraction of the OBB on each axis that
would be visible if the object were rendered orthographically.
This has been precomputed when the collide was built or this function will return 1,1,1
Returns the index of the physics model.
Sets the new mass center of the CPhysCollide.
I have no Idea....
RaphaelIT7 doing gods work - Mr. Saxobeat
Returns the memory size of the CPhysCollide.
Computes the surface area of the CPhysCollide.
Computes the volume of the CPhysCollide.
Serializes the CPhysCollide and returns the data containing it.
Converts the given convex to a CPhysCollide and deletes it.
Converts the given polysoup to a CPhysCollide and deletes it.
physcollide.ConvexFree( CPhysConvex convex )
Frees the given CPhysConvex if it wan't used/converted.
Computes the surface area of the convex.
Computes the volume of the CPhysCollide.
Creates a ICollisionQuery from the given CPhysCollide.
physcollide.DestroyCollide( CPhysCollide collide )
Destroys the given CPhysCollide.
Destroys the given ICollisionQuery.
Computes the volume of the CPhysCollide.
physcollide.PolysoupAddTriangle( CPhysPolySoup soup, vector a, vector b, vector c, number materialIndex )
Adds a triangle to the polysoup.
CPhysPolySoup physcollide.PolysoupCreate( )
Creates a CPhysPolySoup.
physcollide.PolysoupDestroy( CPhysPolySoup soup )
Frees the given CPhysPolySoup if it wasn't used/converted.
physcollide.PolysoupDestroyTheDeathstar( CPhysPolySoup soup )
Frees the given CPhysPolySoup if it wasn't used/converted.
Unserializes the given data into a CPhysCollide.