mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
making collidesWith a checkbox
This commit is contained in:
parent
7a3443968d
commit
168fb67d67
1 changed files with 41 additions and 8 deletions
|
@ -264,7 +264,6 @@
|
|||
var elCollisionless = document.getElementById("property-collisionless");
|
||||
var elDynamic = document.getElementById("property-dynamic" );
|
||||
var elCollisionSoundURL = document.getElementById("property-collision-sound-url");
|
||||
var elCollidesWith = document.getElementById("property-collides-with");
|
||||
var elLifetime = document.getElementById("property-lifetime");
|
||||
var elScriptURL = document.getElementById("property-script-url");
|
||||
var elScriptTimestamp = document.getElementById("property-script-timestamp");
|
||||
|
@ -483,7 +482,6 @@
|
|||
elCollisionless.checked = properties.collisionless;
|
||||
elDynamic.checked = properties.dynamic;
|
||||
elCollisionSoundURL.value = properties.collisionSoundURL;
|
||||
elCollidesWith.value = properties.collidesWith;
|
||||
elLifetime.value = properties.lifetime;
|
||||
elScriptURL.value = properties.script;
|
||||
elScriptTimestamp.value = properties.scriptTimestamp;
|
||||
|
@ -705,7 +703,6 @@
|
|||
elCollisionless.addEventListener('change', createEmitCheckedPropertyUpdateFunction('collisionless'));
|
||||
elDynamic.addEventListener('change', createEmitCheckedPropertyUpdateFunction('dynamic'));
|
||||
elCollisionSoundURL.addEventListener('change', createEmitTextPropertyUpdateFunction('collisionSoundURL'));
|
||||
elCollidesWith.addEventListener('change', createEmitTextPropertyUpdateFunction('collidesWith'));
|
||||
|
||||
elLifetime.addEventListener('change', createEmitNumberPropertyUpdateFunction('lifetime'));
|
||||
elScriptURL.addEventListener('change', createEmitTextPropertyUpdateFunction('script'));
|
||||
|
@ -1389,12 +1386,48 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<div class="property">
|
||||
<div class="label">collidesWith</div>
|
||||
<div class="value">
|
||||
<input id="property-collides-with">
|
||||
<div>
|
||||
<div> collidesWith </div>
|
||||
|
||||
<div class="property">
|
||||
<span class="label">Static</span>
|
||||
<span class="value">
|
||||
<input type='checkbox' id="property-collide-static">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="property">
|
||||
<span class="label">dynamic</span>
|
||||
<span class="value">
|
||||
<input type='checkbox' id="property-collide-dynamic">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="property">
|
||||
<span class="label">kinematic</span>
|
||||
<span class="value">
|
||||
<input type='checkbox' id="property-collide-kinematic">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="property">
|
||||
<span class="label">myAvatar</span>
|
||||
<span class="value">
|
||||
<input type='checkbox' id="property-collide-myAvatar">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="property">
|
||||
<span class="label">otherAvatar</span>
|
||||
<span class="value">
|
||||
<input type='checkbox' id="property-collide-otherAvatar">
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="property">
|
||||
<div class="label">Collision Sound URL</div>
|
||||
|
|
Loading…
Reference in a new issue