Inside3D!
     

Air Control/bouncy corpses?

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Skippy



Joined: 14 Sep 2007
Posts: 4

PostPosted: Fri Sep 14, 2007 3:43 am    Post subject: Air Control/bouncy corpses? Reply with quote

Hi, finally got fed up enough trying to do this to actually post a question.

I'm trying to get a player to have full air control, much like a spectator camera in a modern game, meaning you move in the direction you are facing. If possible, I'd like to get all the other controls to work from that frame of referance, meaning that the jump key/move up would instead of moving you straight up the Z axis as it would now, move you straight up from your point of view (perpendicular to the camera angle.) I've been trying to get this effect using movetype_fly, but not only does it lose all control when in the air, it doesn't seem to handle very well.

One other question: is it possible to stop objects such as bodies and debris from adhering to the floor? I've been trying rather hard to get them to bounce off, since it looks kind of strange in a zero gravity enviroment when a corpse suddenly stops dead on the floor.

Thanks.
Back to top
View user's profile Send private message
MauveBib



Joined: 04 Nov 2004
Posts: 602

PostPosted: Fri Sep 14, 2007 7:22 am    Post subject: Reply with quote

Make corpses MOVETYPE_BOUNCE and give them a velocity, and they'll boing around the place.

As for the air control, that sort of thing is relatively easy in darkplaces with the qc player physics, but much harder in stock quake.
_________________
Apathy Now!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group