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.

Windows / [BUG] SetObjectShapeStaticPolygon makes Windows 10 crashes on 2017.05.15 release.

Author
Message
MarcoBruti
12
Years of Service
User Offline
Joined: 20th Nov 2011
Location: Caput Mundi
Posted: 18th May 2017 21:52
My app PinballMaker crashes when creating elements on pinball table using the SetObjectShapeStaticPolygon() command (PinballMaker.exe stopped working). I had to replace temporarily the command with SetObjectShapeConvexHull. On Android it works fine.
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 21st May 2017 14:20
Create and post a runnable code example to show the possible bug.
It may be an error in your code.
The coffee is lovely dark and deep,and I have code to write before I sleep.
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 21st May 2017 21:18
This also started happening for me from this version. I changed it to a different shape (box I think) and then forgot to post it as a bug.
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 26th May 2017 15:43
Can either one of you post a code sample that shows this?
I have been unable to duplicate the issue.
The coffee is lovely dark and deep,and I have code to write before I sleep.
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 27th May 2017 17:42
I've gone back to where I changed the shape to the default one with Create3DPhysicsStaticBody() and used SetObjectShapeStaticPolygon() where I originally had it and it works.

Not a problem for me anyway as Create3DPhysicsStaticBody() creates that shape anyway, doesn't it?

Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 27th May 2017 23:40
Yes, Create3DPhysicsStaticBody() by default creates a static polygon collision shape.
The coffee is lovely dark and deep,and I have code to write before I sleep.

Login to post a reply

Server time is: 2024-03-29 13:03:11
Your offset time is: 2024-03-29 13:03:11