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.

Author
Message
Virgil B
16
Years of Service
User Offline
Joined: 21st Jun 2010
Location:
Posted: 21st Jun 2010 11:36
Hi /b/
Ups...sorry
Hey there.I had pretty much trouble with .x collision, but after all that threads I finally managed to make it work.The problem is this.It seems to work only on Y axis.The gravity is working.But I still walk trough walls.

source

Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 21st Jun 2010 17:55
You use sparkys to set the objects up for collision, but then you don't do anything with it.

Go through the sparkys example. Keep an eye out for the (I think) 'sc_sphereslide' command and the rest which go with it. (I'm not on my programming machine so I can't double check it ATM.)

My signature is NOT a moderator plaything! Stop changing it!
Virgil B
16
Years of Service
User Offline
Joined: 21st Jun 2010
Location:
Posted: 21st Jun 2010 20:20
No...as you can see, commands from sparky's dll have a "`" in front of them.
BMacZero
20
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 21st Jun 2010 22:45
I don't think anyone is going to know because everyone uses Sparky's .

Use Sparky's. It's so much better than the built-in stuff.

Virgil B
16
Years of Service
User Offline
Joined: 21st Jun 2010
Location:
Posted: 21st Jun 2010 22:59
Ok I switched to sparky's.The reason I wasn't using it from the first time, was because it wasn't working.Now it's working.I had to put SC_updateObject after the repositioning command.Now, the collision still won't work.I can still walk trough walls.
Virgil B
16
Years of Service
User Offline
Joined: 21st Jun 2010
Location:
Posted: 22nd Jun 2010 03:46
Solved!Thanks ^_^.Sparky's dll is really awesome.

Login to post a reply

Server time is: 2026-07-25 08:30:14
Your offset time is: 2026-07-25 08:30:14