Page 1 of 1

Halt when #PB_Entity_None for first EntityBody

Posted: Wed Jun 12, 2024 5:38 pm
by Psychophanta
You can test it just replacing this at line 50 in the 3D example in the PB6.11 package:

Code: Select all

    CreateEntityBody(0, #PB_Entity_BoxBody   , 1.0)
by

Code: Select all

    CreateEntityBody(0, #PB_Entity_None   , 1.0)
Here the program halts.

Re: Halt when #PB_Entity_None for first EntityBody

Posted: Sat Dec 07, 2024 11:23 pm
by pf shadoko
wich sample ?

Re: Halt when #PB_Entity_None for first EntityBody

Posted: Sun Dec 08, 2024 9:49 am
by Psychophanta
:lol:
Good question. Don't know, anyway, i think the post was referred to the fact "CreateEntityBody(0, #PB_Entity_None , 1.0)" does not work, and just there must be an example in the package to check it.

EDIT:
Found:
PointJoint.pb

Re: Halt when #PB_Entity_None for first EntityBody

Posted: Sun Dec 08, 2024 7:50 pm
by Fred
Always post a full working example we can execute, thanks

Re: Halt when #PB_Entity_None for first EntityBody

Posted: Mon Dec 09, 2024 8:45 am
by Psychophanta
Ok, i forgot this time, :oops: nobody is perfect :)