Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Sparky's Collision - 'hitbox' size and position

Author
Message
Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 8th Feb 2010 18:51 Edited at: 8th Feb 2010 18:53
I'm trying to add a proper collision box for my player character but this is the initial result:



I know it has something to do with the fact that I've resized my model before adding the collision.

With these commands I've made the collision box bigger:


(Note: I use Extends, thus I do not use object numbers but names, or labels)

This is the effect :



It's probably something quite simple, but I've been at this for way too long and its driving me mad about now, but is there a way to change the dimensions and placement of the 'collision box'?

This is my player content loading code:



Thanks!

Regards,
Sph!nx
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 8th Feb 2010 20:26 Edited at: 8th Feb 2010 20:26


Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 13th Feb 2010 15:57
Thanks! I'll give a try!

Regards,
Sph!nx
Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 16th Feb 2010 16:49
Nothing worked... The effect in image 2 is the best I can do. There isn't just a command that simply repositions the bounding object...

Regards,
Sph!nx
Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 18th Feb 2010 12:18
No one? Perhaps I need to look into a different kind of collision system then...

Regards,
Sph!nx

Login to post a reply

Server time is: 2024-04-19 10:56:35
Your offset time is: 2024-04-19 10:56:35