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

Solved Moving entity vertically ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 04-16-2020 , 03:18   Moving entity vertically ?
Reply With Quote #1

how can i move an entity vertically with respect to gametime




like in these picture i spawn an entity in point A (sky) and i wanted to move the entity towards ground vertically to Point B (Ground) with respect to time and once it reach or touch the ground remove the entity

something like air bomb ?


i hope you understand !
__________________
SED LYF !!!

Last edited by SHIELD755; 04-17-2020 at 01:17.
SHIELD755 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-16-2020 , 07:32   Re: Moving entity vertically ?
Reply With Quote #2

Set negative velocity in the z axis fvVelocity[2] = -300
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-16-2020 , 09:30   Re: Moving entity vertically ?
Reply With Quote #3

You can register touch with world to make something happen when striking the ground.
__________________
Bugsy is offline
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 04-16-2020 , 09:57   Re: Moving entity vertically ?
Reply With Quote #4

Thank you @natsheh and @bugsy i will try
__________________
SED LYF !!!
SHIELD755 is offline
Reply


Thread Tools
Display Modes

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 15:12.


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