Raised This Month: $51 Target: $400
 12% 

Calculate velocity to point X


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-24-2020 , 17:22   Calculate velocity to point X
Reply With Quote #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.
__________________

Last edited by edon1337; 03-24-2020 at 17:22.
edon1337 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode