BulletSim/ScriptFunctions

From OpenSimulator

Revision as of 13:06, 26 July 2013 by Misterblue (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OpenSimulator => BulletSim => Script Functions

BulletSim Script Functions

Contents

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

PHYS_LINKSET_TYPE_CONSTRAINT = 0

PHYS_LINKSET_TYPE_COMPOUND = 1

PHYS_LINKSET_TYPE_MANUAL = 2

void physSetLinksetType(int linksetTypeCode)

void physSetCenterOfMass(vector centerOfMassDisplacement)

Extended Linksets

Personal tools
General
About This Wiki