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 / Collision problem-- still.........

Author
Message
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 00:16


The problem? WHen the collision happens it works well. But then it keeps going and going. It never stops. How would i set it so that it stops when it isn't collideing with the other object?
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 24th Apr 2008 04:02
Didn't I tell you the answer in another thread? SC_UpdateObject(ObjID) after you move the object back. Infact, I think you need to do this every time you move the object.. but I could be wrong about that.

programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 05:00
Quote: "Didn't I tell you the answer in another thread?"


yeah, you did-- after I posted this one-- sorry.....
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 24th Apr 2008 05:31
No Problem - thought it was de-ja-vu (spelling no Idea LOL)

programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 06:12
Well, the way you said to fix the bug was
Quote: "SC_UpdateObject(ObjID)"


That isn't working and it is saying invalid syntax. This may make it more clear of what I want to do--


That is my code, and what I want it to do is that when the object hits something, it stops. Also, is it posible to do this with terrain? SO that the object collides with the terrain? If not, it isn't a huge problem....
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 24th Apr 2008 07:27
open up the SC_Collision.H file on your system, and look for that command to get the syntax right. .. I thought it was SC_UpdateObject(ObjID)


Hmm...

programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 15:05
It seems that I dont have a SC_COllision.H file on my system-- is that Sparky's Collision thing? DO I have to download that-- and where would I download that?

Ps-- Thanks for all the help you've been giving me, I am such a noob at this.......
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 24th Apr 2008 16:14
I liked the chicken icon better LOL.. just for the funny factor. This one is coll too though.

Um...

-The Game Creators - aka TGC - http://www.thegamecreators.com <---You are here LOL

-DarkGDK - C++ Game Development SDK - http://gdk.thegamecreators.com/

-Dark Physics - aka DP - [href]http://darkphysics.thegamecreators.com/ [/href]

-Paul Johnson's (Sparky's) Collision DLL - aka Sparky's:
http://forum.thegamecreators.com/?m=forum_view&t=74762&b=5

Make SURE you get the DarkGDK version

-Ageia PhysX - aka - http://www.ageia.com

programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 16:34
Thanks, Yeah, I like the chicken icon too. just changed it to see how it looked.
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 16:49
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
RayCollision.cpp
.\RayCollision.cpp(2) : fatal error C1083: Cannot open include file: 'SC_Collision.h': No such file or directory

Thats the message I get when I try to do something with the SC_Collision.h

Is the file in the wrong place? And if so where should I put it?

In advance-- Thanks
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 24th Apr 2008 19:44
I personally put the SC_Collision.h file in my c:\program files\thegamecreators\darkgdk\include (or something like this) directory with the DarkSDK.h and the DarkGDK.H etc files.

programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 20:12
Compiling...
Main.cpp
Linking...
LINK : fatal error LNK1104: cannot open file 'SC_Collision.lib'


I get this error now..... Grrrr......
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 20:26
Got it!!!!! All I needed to do was copy another file and put it into a different spot! Yay! Thanks for all the help!
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA

Login to post a reply

Server time is: 2024-09-29 19:25:06
Your offset time is: 2024-09-29 19:25:06