For some reason when I touch the SF chip using physgun the SF chip just dissapears / breaks. When I touch it using prop or gravitygun it work just fine.
Potential issues:
1. Apply torque is a hack with offset forces because there's no binding to torque in GLua.
2. The physgun applies a constraint to objects it picks up rather than locking their position/angles, so it's possible it spazzes when also under the effect of potentially strong forces thanks to VPhysics brilliant constraints.
3. The rotation vector you're using looks suspect (qRotation(Entity:pos() part in particular), as does the Entity:pos() in the torque (seeing as torque is just a normal to rotate around and its magnitude is the force amount, so Entity:pos() is a pretty strange thing to include) but I'm not awake enough to go over it right now.
(11-11-2014, 08:35 PM)Person8880 Wrote: Potential issues:
1. Apply torque is a hack with offset forces because there's no binding to torque in GLua.
2. The physgun applies a constraint to objects it picks up rather than locking their position/angles, so it's possible it spazzes when also under the effect of potentially strong forces thanks to VPhysics brilliant constraints.
3. The rotation vector you're using looks suspect (qRotation(Entity:pos() part in particular), as does the Entity:pos() in the torque (seeing as torque is just a normal to rotate around and its magnitude is the force amount, so Entity:pos() is a pretty strange thing to include) but I'm not awake enough to go over it right now.
Likely 3 is the real problem.
The problem remais even if I remove Entity:pos() part.
тѕсм.Person8880 hovers the nerf bat over Tetryon damage