Jump to content

Home

Gravity


normal

Recommended Posts

I've spawned a new entity (not an NPC!) into my level, but it refuses to be affected by gravity, i'm not sure how to make it be affected by gravity either, but so far i've seen others use:

 

ent->physicsObject = qtrue;

 

But even that dosn't work..

 

Any ideas, guys?

Link to comment
Share on other sites

I think applying the physicsObject bool only makes it so that it can be moved by movers not by gravity itself or players, the actual variable u want (i think) is g_gravity or give it TR_GRAVITY as trajection. That's all i can think of for now.....

Link to comment
Share on other sites

Originally posted by Subject452

I think applying the physicsObject bool only makes it so that it can be moved by movers not by gravity itself or players, the actual variable u want (i think) is g_gravity or give it TR_GRAVITY as trajection. That's all i can think of for now.....

I'll look into it.. thanks.

 

Basically, this is for the "ball", in my modification named "Forceball". :D

 

:jawa

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...