Flecha das Sombras on 26/5/2006 at 00:30
Impart a physics impulse with vector X= [Float] Y= [Float] Z= [Float] to linked object [LinkFlavor] , offset from center of mass by X= [Float] Y= [Float] Z= [Float].
How to use this "action"?
I tryed this:
Impart a physics impulse with vector X= 500 Y= 0 Z= 0 to linked object PLAYER , offset from center of mass by X= 0 Y= 0 Z= 0.
But it is not working. I tryed linking it to an object and use [LinkFlavor]=TriggerScript. But got the same problem. I tested the condition with another "action" and it is working.
Thanks for any help.
ascottk on 26/5/2006 at 02:16
The player archetype seems to be immune to physics impulses brought on by triggerscripts (outside the general physics). If we could influence the player, swimmable water would be easier.
Crispy on 26/5/2006 at 03:01
I've never managed to get that action to work. The player appears to be immune, and I couldn't get it working with objects either.
Rantako on 26/5/2006 at 08:35
It definitely works with objects - I once had a crate getting knocked around a room when the player entered a volume. It would probably only work if the object has the right properties, though (an actor instead of a smesh).
scumble on 26/5/2006 at 08:41
Yes, it would definitely have to be an actor with physical properties. The best way to check would be to do a physics simulation to see if the object drops to the floor.
Flecha das Sombras on 27/5/2006 at 00:26
I tryed to use it on many kinds of objects, but it didn´t work. :erm:
Even with objects that can be pushed or frobed.
Crispy on 27/5/2006 at 01:25
It needs to be a Havok physics object, like one of those crates that you can pick up and throw around.
Judith on 27/5/2006 at 16:05
I had similar problem, my but solution was quite different. I put a stack of crates, one crate in the air above, and put a small bottle, turned into elevator. When player had breached the volume the bottle moved nearby the crate, touching it and activating it's physics, dissappearing in the wall shortly after that. The rest went just fine, I had my collapse of crates :)
Flecha das Sombras on 28/5/2006 at 10:21
Thanks for the help.
Now the script is moving some barrels.... but even with "vector X=999999988484154750000000000.00" the barrel is only moving a bit. :erg:
Is there a wait to make it REALLY crash against the player?