Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 14 15 16 17 18 Next »
applyTorque bug
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
applyTorque bug
11-11-2014, 07:41 AM,
#1
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
applyTorque bug
Hey,

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.

Im using following code

Code:
V2=Entity:toLocal(quaternion.rotationVector(quaternion.qRotation(Entity:angVelVector())+quaternion.qRotation(Entity:pos()))) Entity:applyTorque((150*V2-13*Entity:pos()*Entity:mass())*Entity:inertia())

and yes I have tried with smaller forces. Removing applytorque from the chip fixed the issue but well thats not a solution.

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
applyTorque bug - by LocInt - 11-11-2014, 07:41 AM
RE: applyTorque bug - by Person8880 - 11-11-2014, 08:35 PM
RE: applyTorque bug - by LocInt - 11-11-2014, 09:54 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.