Difference between revisions of "Talk:Weapon"

Jump to navigation Jump to search
221 bytes added ,  11:55, 11 June 2009
imported>Tejón
imported>DragoonWraith
Line 30: Line 30:
== Weapon Reach ==
== Weapon Reach ==
This has been annoying to test because GetDistance is from the model's origin point, which can be nowhere near the point of collision, especially on the Z axis. The best option I could come up with was turning off Rohssan's AI so she didn't mind me smacking her upside the head repeatedly. Anyway: my impression is that the formula for reach is roughly '''64 + (64 * WeaponReach)''' distance units. The constant 64 might vary by actor size/model, I haven't tested that. Also, if this is accurate, unarmed strikes appear to have a reach of 0.4. --[[User:Tejón|tejón]] 01:26, 10 June 2009 (EDT)
This has been annoying to test because GetDistance is from the model's origin point, which can be nowhere near the point of collision, especially on the Z axis. The best option I could come up with was turning off Rohssan's AI so she didn't mind me smacking her upside the head repeatedly. Anyway: my impression is that the formula for reach is roughly '''64 + (64 * WeaponReach)''' distance units. The constant 64 might vary by actor size/model, I haven't tested that. Also, if this is accurate, unarmed strikes appear to have a reach of 0.4. --[[User:Tejón|tejón]] 01:26, 10 June 2009 (EDT)
:Seems reasonable; a humanoid with Height of 1.0 would be 128 units tall. The arm, then, would be a bit less than 64 units long. Give a little bit of a lunge in the attack, add on the length of the weapon - makes sense.

Navigation menu