mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 17:23:29 +02:00
added collides with property
This commit is contained in:
parent
05b9d88f08
commit
7a3443968d
1 changed files with 10 additions and 0 deletions
|
@ -264,6 +264,7 @@
|
||||||
var elCollisionless = document.getElementById("property-collisionless");
|
var elCollisionless = document.getElementById("property-collisionless");
|
||||||
var elDynamic = document.getElementById("property-dynamic" );
|
var elDynamic = document.getElementById("property-dynamic" );
|
||||||
var elCollisionSoundURL = document.getElementById("property-collision-sound-url");
|
var elCollisionSoundURL = document.getElementById("property-collision-sound-url");
|
||||||
|
var elCollidesWith = document.getElementById("property-collides-with");
|
||||||
var elLifetime = document.getElementById("property-lifetime");
|
var elLifetime = document.getElementById("property-lifetime");
|
||||||
var elScriptURL = document.getElementById("property-script-url");
|
var elScriptURL = document.getElementById("property-script-url");
|
||||||
var elScriptTimestamp = document.getElementById("property-script-timestamp");
|
var elScriptTimestamp = document.getElementById("property-script-timestamp");
|
||||||
|
@ -482,6 +483,7 @@
|
||||||
elCollisionless.checked = properties.collisionless;
|
elCollisionless.checked = properties.collisionless;
|
||||||
elDynamic.checked = properties.dynamic;
|
elDynamic.checked = properties.dynamic;
|
||||||
elCollisionSoundURL.value = properties.collisionSoundURL;
|
elCollisionSoundURL.value = properties.collisionSoundURL;
|
||||||
|
elCollidesWith.value = properties.collidesWith;
|
||||||
elLifetime.value = properties.lifetime;
|
elLifetime.value = properties.lifetime;
|
||||||
elScriptURL.value = properties.script;
|
elScriptURL.value = properties.script;
|
||||||
elScriptTimestamp.value = properties.scriptTimestamp;
|
elScriptTimestamp.value = properties.scriptTimestamp;
|
||||||
|
@ -703,6 +705,7 @@
|
||||||
elCollisionless.addEventListener('change', createEmitCheckedPropertyUpdateFunction('collisionless'));
|
elCollisionless.addEventListener('change', createEmitCheckedPropertyUpdateFunction('collisionless'));
|
||||||
elDynamic.addEventListener('change', createEmitCheckedPropertyUpdateFunction('dynamic'));
|
elDynamic.addEventListener('change', createEmitCheckedPropertyUpdateFunction('dynamic'));
|
||||||
elCollisionSoundURL.addEventListener('change', createEmitTextPropertyUpdateFunction('collisionSoundURL'));
|
elCollisionSoundURL.addEventListener('change', createEmitTextPropertyUpdateFunction('collisionSoundURL'));
|
||||||
|
elCollidesWith.addEventListener('change', createEmitTextPropertyUpdateFunction('collidesWith'));
|
||||||
|
|
||||||
elLifetime.addEventListener('change', createEmitNumberPropertyUpdateFunction('lifetime'));
|
elLifetime.addEventListener('change', createEmitNumberPropertyUpdateFunction('lifetime'));
|
||||||
elScriptURL.addEventListener('change', createEmitTextPropertyUpdateFunction('script'));
|
elScriptURL.addEventListener('change', createEmitTextPropertyUpdateFunction('script'));
|
||||||
|
@ -1386,6 +1389,13 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="property">
|
||||||
|
<div class="label">collidesWith</div>
|
||||||
|
<div class="value">
|
||||||
|
<input id="property-collides-with">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="property">
|
<div class="property">
|
||||||
<div class="label">Collision Sound URL</div>
|
<div class="label">Collision Sound URL</div>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
|
|
Loading…
Reference in a new issue