Thread
:
Calculate velocity to point X
View Single Post
Author
Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
03-24-2020 , 17:22 Calculate velocity to point X
#
1
Hi,
So I'm looking for a way to calculate how much velocity it would require to give to the entity, to reach point X (whereas point X is player aiming origin).
I'm using velocity_by_aim and MOVETYPE_TOSS (MOVETYPE_TOSS so gravity can pull the entity down, making it more realistic).
An example in real life:
Calculating how much force it would require to throw a rock so the rock can fall on point X.
__________________
•
Elite Admin System (Most advanced admin system)
Working on v7.0 (paused until done with studies)
•
Visitor Counter (Track server visitors)
•
Reports System (Keep track of your players suggestions/reports)
Last edited by edon1337; 03-24-2020 at
17:22
.
edon1337
View Public Profile
Send a private message to edon1337
Find More Posts by edon1337