|
2 registered members (3run, AndrewAMD),
623
guests, and 1
spider. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
getting stuck
#173422
12/17/07 21:45
12/17/07 21:45
|
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B
OP
Expert
|
OP
Expert
Joined: Feb 2006
Posts: 2,185
|
ok, here's a collision issue, all of my c_move functions are set to glide, and i set my entities' min_ max_ collision settings, but they still get stuck in some entities, is there anything i can do to prevent this?
- aka Manslayer101
|
|
|
Re: getting stuck
[Re: mpdeveloper_B]
#173423
12/20/07 14:43
12/20/07 14:43
|
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B
OP
Expert
|
OP
Expert
Joined: Feb 2006
Posts: 2,185
|
anyone have any kind of solutions for this?
- aka Manslayer101
|
|
|
Re: getting stuck
[Re: mpdeveloper_B]
#173424
12/20/07 15:08
12/20/07 15:08
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
Try setting the polygon flag EDIT: you could also try this: Code:
my.fat = on; my.narrow = on; wait(1); c_setminmax(my);
Mind that c_updatehull can be used too but there are a few restrictions: - it's slower - use it when really necessairy, like after a mesh manipulation or sort like - it doesn't check for intersection Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: getting stuck
[Re: Loopix]
#173426
12/20/07 15:21
12/20/07 15:21
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
Well that could work as well but the amount of calculations would be far to much since you can simply do it via the methodes the manual advices  Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: getting stuck
[Re: Mythran]
#173428
12/20/07 20:50
12/20/07 20:50
|
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B
OP
Expert
|
OP
Expert
Joined: Feb 2006
Posts: 2,185
|
i would like to know how to calculate a bounce back as well, and i'm not using blocks at all, so it would be helpful, i used the min/max values to set my bounding box and used c_setminmax to implement it, and if you can give me a kind of bounce back i'd really appreciate it
- aka Manslayer101
|
|
|
Re: getting stuck
[Re: Doug]
#173430
12/20/07 23:14
12/20/07 23:14
|
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B
OP
Expert
|
OP
Expert
Joined: Feb 2006
Posts: 2,185
|
no because c_rotate stops me and i get stuck more often than using pan, tilt, roll. i mean that when i run to far to a model, then i will get stuck my ai gets stuck to walls more than i do, but i get stuck in them when meleeing, and i'm not changing the min/max values while playing, it's got to do with the collision detection of models, i know this much
- aka Manslayer101
|
|
|
|