Hello there!
So, i was programming a kind of drone which movements are based on AddAngleVelocity and AddVelocity, but i have the following problem: when i do a GetAngles() on the SENT, it return a different value almost everytime:
"Angley:" is showing the self:GetAngles().y , the entity hadn't moved in the time i recorded this values...
[quote]49945068359
Angley: 45.131072998047
3.5973785400391
-1.3417663574219
Angley: 317.09825134277
1.8419650268555
Angley: 44.95671081543
-3.6008657836914
-1.9629516601563
Angley: 306.04335021973
1.6208670043945
Angley: 44.83561706543
-3.6032876586914
3.2225646972656
Angley: 337.27900695801
2.2455801391602
-3.010498046875
Angley: 300.8458404541
1.516916809082
Angley: 44.768844604492
-3.6046231079102
Angley: 44.758010864258
-3.6048397827148
3.6174011230469
Angley: 342.73390197754
2.3546780395508
Angley: 44.802917480469
-3.6039416503906
0.42645263671875
Angley: 321.29573059082
1.9259146118164
-1.9234313964844
Angley: 301.59532165527
1.5319064331055
Angley: 44.897933959961
-3.6020413208008
Angley: 45.034072875977
3.5993185424805
5.5492553710938
Angley: 357.94909667969
2.6589819335938
5.2693176269531
Angley: 359.07867431641
2.6815734863281
Angley: 45.09912109375
3.598017578125
Angley: 45.091995239258
3.5981600952148
Angley: 300.59377288818
1.5118754577637
Angley: 45.031021118164
3.5993795776367
4.4625244140625
Angley: 358.6309967041
2.672619934082
4.9739990234375
Angley: 353.39907836914
2.5679815673828
Angley: 44.918365478516
-3.6016326904297
Angley: 44.859237670898
-3.602815246582
Angley: 294.62860870361
1.3925721740723
4.1618041992188
Angley: 0.85357666015625
-4.4829284667969
Angley: 44.853958129883
-3.6029208374023
Angley: 44.900604248047
-3.6019879150391
5.6374206542969
Angley: 2.3190155029297
-4.4536196899414
Angley: 289.6577835083
1.293155670166
Angley: 44.994552612305
-3.6001089477539
7.0859069824219
Angley: 10.682571411133
-4.2863485717773
Angley: 45.132476806641
3.5973504638672
[/quote]
I must probably also point that the ENT:Think is running with "self:NextThink(CurTime() + 0.05)"
What can i do to have proper value ?
Sorry, you need to Log In to post a reply to this thread.