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.

AppGameKit Classic Chat / Phantom Object being created between two objects.

Author
Message
Golelorn
7
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 19th Mar 2019 20:34 Edited at: 19th Mar 2019 20:34
Here is the code. There are only two object being loaded.



The first object is 100001.
The second object is 100003.

Wait, what? Where is 100002? I hit 100002 during collision test. 10002 acts suspiciously like my collisionbox, and also looks just like my collisionbox and follow the character around. But.... 100003 is my collision box.

100002 does everything that my collisionbox does. How is this possible? Please see the screenshot. CB is my collisionbox, the phantom box is being returned by a raycast test. And P: is the player ID.

Attachments

Login to view attachments
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 19th Mar 2019 20:40
Does the first object have a child object that's 100002? Your loading the player with children.
Golelorn
7
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 19th Mar 2019 20:43 Edited at: 19th Mar 2019 20:49
Oh god. That was it. I forgot to make his shield undetectable.

Thank you.
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 19th Mar 2019 20:51
One thing I've learned from the forums......no matter what the mistake, or how simple the solutions seems.....we've all made it at one point.
puzzler2018
User Banned
Posted: 19th Mar 2019 21:06
I love the idea of sharing knowledge its profoundly exciting/promoting and wildly exhausting at the same time lol
Tier 1 Developer

Login to post a reply

Server time is: 2024-04-27 02:36:44
Your offset time is: 2024-04-27 02:36:44