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.

Dark GDK / Sparky's SC_getStaticCollisionX not working

Author
Message
zapakitul
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 18th Mar 2009 19:54 Edited at: 18th Mar 2009 19:55
I have been using sparky for a while now, quite a good plugin. Today i noticed that even tough my object was standing still(no input from me) he kept sliding little by little... I checked the code and saw that i was using sliding collision with the ground, so i said "yeah, that's the reason it's doing this". So, i opened up the help file from Sparky and saw that there is a function called "SC_getStaticCollisionX". Tried changing my code from:

to

but the compiler keeps telling me that
Quote: "
1>.Main.cpp(98) : error C3861: 'SC_getStaticCollisionX': identifier not found
1>.Main.cpp(98) : error C3861: 'SC_getStaticCollisionY': identifier not found
1>.Main.cpp(98) : error C3861: 'SC_getStaticCollisionZ': identifier not found
"
. Uff, am i doing something wrong?
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 18th Mar 2009 20:40
still new to gdk but shouldn't "get" be "Get"?

Dark Physics makes any hot drink go cold.
zapakitul
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 18th Mar 2009 20:45
Lol didn't notice that. I checked the documentation and get is still written with a lowercase "g". Thank you HowDo.

Login to post a reply

Server time is: 2024-09-30 21:31:01
Your offset time is: 2024-09-30 21:31:01