Talk:PushActorAway

Revision as of 13:43, 26 August 2011 by imported>Mitchalek (Agility as force modifier)

Playing with this revealed an interesting fact; doing "self.pushActorAway self 100" will launch an actor very high into the air, but it is all some sort of animation where the reference position of the actor does not change... if you do "self.getPos Z" on the actor high in the sky it will report the z height value of the ground where the actor was standing. If you then do "actor.setPos Z XXX" it will displace that reference point and the actor relative to it... also the reference point will be subject to havok gravity and will "fall". ABO 21:19, 21 May 2008 (EDT)


It appears that agility attribute act as a modifier on force value. Trying to push or pull actors with 100 agility will require roughly 3-4 times greater force than for example those with 0 agility in order to cover the same distance. I didn't test it on NPCs but it works that way on player so my guess is that it applies on NPCs too. Mitchalek 14:43, 26 August 2011 (EDT)

Return to "PushActorAway" page.