BulletSim/ScriptFunctions

OpenSimulator => BulletSim => Script Functions

BulletSim Script Functions

Physics engines have an extension interface enabling extended functions. BulletSim adds script functions which call the extension interface and add control of physics parameters and new functionality.

This feature requires the mod_invoke feature to be enabled on the region the script is running on.

Information
string physGetEngineType

string physGetPhysicsParameter(string parameterName)

void physSetPhysicsParameter(string parameterName, string value)

Physics Parameters
void physSetLinksetType(integer linksetTypeCode)

void physSetCenterOfMass(vector centerOfMassDisplacement)

Extended Linksets
void physChangeLinkParams(integer linkNum, list parms)

Axis Specification
Some of the parameters specify a constraint axis. The axis values mean: