Raised This Month: $ Target: $400
 0% 

Gravity to Velocity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 09-16-2012 , 20:23   Gravity to Velocity
Reply With Quote #1

Okay so I have a part of the trampoline code,
Code:
		entity_get_vector(id, EV_VEC_velocity, velocity);
		velocity[2] = 500;				
		entity_set_vector(id, EV_VEC_velocity, velocity);
		
		entity_set_int(id, EV_INT_gaitsequence, 6);
and I want to make it so if you touch that above trampoline while having lower gravity, it continues your gravity while throwing you up in the air. How would I go by doing this?

Thanks all!

(And yes this is the trampoline code from blockmaker, no I'm not going to release this in any way)
__________________
Ayyylmao
malec321 is offline
 


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 08:11.


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