Simple questions...
-
my question; will it ever be possible to have ontouch work only if there is a certain amount of force in a collision
i.e.: if force>=500 then playsound("wood1.wav"), or in any other way?
(force being something like the value for breakable joints) -
It possible. But it would require a bit of work. If getting accurate sound effects is the goal its probably not going to work the way you expect. The current sound system is very limited.
-
I wasn't just thinking of sound effects, but also for some other things, like triggers that would do different things depending on how hard they are hit.
-
Slightly off topic, I was thinking of a unified system for events in the UI; a drop-down events section, where you can add and remove events like onTouch and onTick. This would let us have separate onTouch event scripts for different objects colliding, and different onTick scripts running at different framerates... without additional objects. You could also add new events like onClick. Obvoiusly not for SP3, but an idea for the future...
-
BTM, Ill see if I can do it but it probably wont be in next version.
Wacov, I have been thinking about doing exactly that. In the form of model level events. And I would also probably setup the objects with an add/remove event UI as well.
Advertisement