Inside3D!
     

Coffee's tutor bot...feet in ground

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



Joined: 05 Dec 2006
Posts: 44
Location: London, Ontario, Canada, eh

PostPosted: Sun Dec 10, 2006 3:15 am    Post subject: Coffee's tutor bot...feet in ground Reply with quote

I copied the code Coffee (AI Cafe) wrote for spawning a monster bot.
http://minion.planetquake.gamespy.com/tutorial/tutor9.htm

It works great except for the fact that the feet of the monster
are always in the ground, even when I spawn them in the air.
Any idea why this is happening?

Thanks,
DieparBaby
Back to top
View user's profile Send private message
Lardarse



Joined: 05 Nov 2005
Posts: 243
Location: Bristol, UK

PostPosted: Mon Dec 11, 2006 6:02 am    Post subject: Reply with quote

Could be an issue with the model...
Back to top
View user's profile Send private message
FrikaC
Site Admin


Joined: 08 Oct 2004
Posts: 947

PostPosted: Mon Dec 11, 2006 10:27 am    Post subject: Reply with quote

There's a mistake in the tutorial. You should always call setsize() after setmodel(), otherwise you get funky bounding boxes.
Back to top
View user's profile Send private message Send e-mail
DieparBaby



Joined: 05 Dec 2006
Posts: 44
Location: London, Ontario, Canada, eh

PostPosted: Mon Dec 11, 2006 1:13 pm    Post subject: Reply with quote

Thank you FrikaC. I also changed the "bot.origin = ..." to "setorigin(bot, ...)"

P.S. Can I spawn() your children? Wink
Back to top
View user's profile Send private message
Lardarse



Joined: 05 Nov 2005
Posts: 243
Location: Bristol, UK

PostPosted: Wed Dec 13, 2006 4:16 am    Post subject: Reply with quote

Very clever. I don't think I've seen it asked that way before...
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