|
3 registered members (vicknick, 7th_zorro, Quad),
990
guests, and 12
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: brauche eine einfache Physic Box
[Re: ratz]
#416526
02/01/13 12:34
02/01/13 12:34
|
Joined: Nov 2007
Posts: 2,568 Germany, BW, Stuttgart
MasterQ32
Expert
|
Expert
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
|
action pX_box()
{
pXent_settype(me, PH_RIGID, PH_BOX);
}
action pX_sphere()
{
pXent_settype(me, PH_RIGID, PH_SPHERE);
}
action pX_capsule()
{
pXent_settype(me, PH_RIGID, PH_CAPSULE);
}
Don't forget to run physX_open(); at the start of your main function!
|
|
|
Re: brauche eine einfache Physic Box
[Re: MasterQ32]
#416531
02/01/13 13:27
02/01/13 13:27
|
Joined: Oct 2008
Posts: 341
ratz
OP
Senior Member
|
OP
Senior Member
Joined: Oct 2008
Posts: 341
|
hmm also ich habs jetzt so gemacht:
///////////////////////////////
#include <acknex.h>
#include <default.c>
#include <ackphysx.h>
///////////////////////////////
action test_box()
{
pXent_settype(me, PH_RIGID, PH_BOX);
}
function main()
{
physX_open();
level_load("physic.WMB");
}
aber wenn ich starte ist da keine box mehr... als were sie durchs level gefallen was mache ich falsch
|
|
|
|