This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| dragengine:modules:dragonscript:behavior_collider [2026/10/09 15:41] – dragonlord | dragengine:modules:dragonscript:behavior_collider [2026/10/09 15:45] (current) – dragonlord | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| ====== Element Class Properties ====== | ====== Element Class Properties ====== | ||
| Element class properties have the prefix '' | Element class properties have the prefix '' | ||
| + | |||
| + | ===== collisionFilter ===== | ||
| + | |||
| + | Set [[gamedev: | ||
| + | * Full name: '' | ||
| + | * Type: string. Format can be '' | ||
| + | * Default Value: '' | ||
| + | * Example (*.deeclass) <code xml>< | ||
| + | |||
| + | ===== enabled ===== | ||
| + | Set enable collider. | ||
| + | * Full name: '' | ||
| + | * Type: boolean | ||
| + | * Default Value: true | ||
| + | * Example (*.deeclass) <code xml>< | ||
| + | |||
| + | ===== localGravity ===== | ||
| + | Set local gravity or '' | ||
| + | * Full name: '' | ||
| + | * Type: 3-component float vector | ||
| + | * Default Value: '' | ||
| + | * Example (*.deeclass) <code xml>< | ||
| ===== physicsType ===== | ===== physicsType ===== | ||
| Line 46: | Line 68: | ||
| * Example (*.deeclass) <code xml>< | * Example (*.deeclass) <code xml>< | ||
| - | ===== localGravity | + | ===== shape ===== |
| - | Set local gravity or '' | + | Set shape if no component is used. |
| - | * Full name: '' | + | * Full name: '' |
| - | * Type: 3-component float vector | + | * Type: string (shape format). See "Shape List Encoding" |
| - | * Default Value: | + | * Default Value: |
| - | * Example (*.deeclass) <code xml><vector | + | * Example (*.deeclass) <code xml><string |
| ===== weight ===== | ===== weight ===== | ||
| Line 60: | Line 82: | ||
| * Restriction: | * Restriction: | ||
| * Example (*.deeclass) <code xml>< | * Example (*.deeclass) <code xml>< | ||
| - | |||
| - | ===== enabled ===== | ||
| - | Set enable collider. | ||
| - | * Full name: '' | ||
| - | * Type: boolean | ||
| - | * Default Value: true | ||
| - | * Example (*.deeclass) <code xml>< | ||
| - | |||
| - | ===== shape ===== | ||
| - | Set shape if no component is used. | ||
| - | * Full name: '' | ||
| - | * Type: string (shape format). See "Shape List Encoding" | ||
| - | * Default Value: empty string | ||
| - | * Example (*.deeclass) <code xml>< | ||
| - | |||
| - | ===== collisionFilter ===== | ||
| - | |||
| - | Set [[gamedev: | ||
| - | * Full name: '' | ||
| - | * Type: string. Format can be '' | ||
| - | * Default Value: '' | ||
| - | * Example (*.deeclass) <code xml>< | ||
| ====== Events ====== | ====== Events ====== | ||