|  | M0XX -1.0-

Module : AvBumper V1.0

Category / Domain : | 3d plugins
Scol Engine Compatibility : | v3.2 and higher
Operating Systems : | Windows 95/98
| Windows NT 4.0
Documentation dated : | 21/11/2000

Supersedes sheet :

Module Description

Plugin used to add to the default avatar the management of inertia, gravity (slope acceleration), disruptive force and rebound with Obb and others avatars.

Editor Description

none

Actions and Events

Actions

Action used to enable or not the management of the gravity :

- EnableGrav : enables the gravity management

Parameters :

- Gravity value (in absolute value)
- If nil then the gravity is "10"

Format:

- A string like : "gravity \n"

Note : Gravity is used for the acceleration due to slopes calcul

- DisableGrav : disables the gravity management

Action used to enable or not the inertia management :

- EnableInertia : enables the enertia management

Parameters:

- The inertia decreasing frequency (in frames)
- The decreasing value (The divider of the force at each decrease)
- if nil then the decreasing frequency is "5" and the divider is "2"

Format:

- A string like: "frequency decrease \n"

- DisableInertia : disables the inertia management

Action to enable or not the slope acceleration management :

- EnableSlopeAcc : enables the slope acceleration management

Parameters:

- The acceleration decreasing frequency (in frames)
- The decreasing value (The divider of the acceleration at each decrease)
- If nil then the decreasing frequency is "3" and the divisor is "2"

Format:

- A string like: "frequency decrease \n"

- DisableSlopeAcc : disables the acceleration due to the slopes management

Action used to enable or not the disruptive force management :

- EnableDisruptiveForce : Enables the the management of a constant disruptive force

Parameters:

- The disruptive force vector coordinates
- If nil the this vector is nil

Format:

- A string like : "xPerturb yPerturb zPerturb \n"

Note : The disruptive power is in the vector coordinates.
For example: (5 0 0) is a dirsruptive force with "5" along x for power

- DisableDisruptiveForce : disables the disruptive force management

Action used to enable or not the rebounds with Obb management :

- EnableReboundObb : enables the rebounds with Obb management

Parameters :

- The rebound force decreasing frequency (in frames)
- The decreasing value (divder of the rebound forceat each decrease)
- The rebound power
- If nil then the frequency is "1", the decrease is "4" and power is "1"

Format :

- A string like : "frequency decrease power \n"

- DisableReboundObb : disables the rebounds with Obb management

Action used to enable or not the rebounds with other avatars management :

- EnableReboundAv : enables the rebounds with other avatars management

Parameters :

- The rebound force decreasing frequency (in frames)
- The decreasing value (divider of the rebound force at each decrease)
- The rebound power
- If nil then the frequency is "1", the decrease is "4" and power is "1"

Format :

- A string like : "frequency decrease power \n"

- DisableReboundAv : disables the rebounds with other avatars management

Events

Events when collision :

- CrashObb : collision with Obb
- CrachAv : collision with avatar

Zones

none