3rd Party Models/Media Chat / Model importer + collision

Author
Message
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 9th Mar 2015 15:45
I'm struggling to get the collision correct on a model I'm working on (a helicopter). At the moment it's either no collision, or full collision (which includes the rotor blades, meaning you can't get very close to the model). I tried shrinking the collision box in the model importer, but no matter what collision setting I use, the end result is the same - a giant box encompassing the entire model, or no collision at all. Is the collision box editor in the model importer a WIP, or am I missing something?
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 9th Mar 2015 15:58
you must edit the .fpe file, ---> enter collisionmode=1
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.
PM
Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 9th Mar 2015 16:26
Quote: "you must edit the .fpe file, ---> enter collisionmode=1"

Nope, I already have collisionmode set to 1.
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 10th Mar 2015 00:36
In the pdf file in the docs folder, there is a document called importing models into GameGuru.pdf.

In there is more collision options for you to try.

Let me know if this helps

Thanks
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Errant AI
Forum Support
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location: [REDACTED]
Posted: 10th Mar 2015 04:39
Make sure the entity is in static mode. Dynamic entities don't support polygon collision.
Gigabyte P67A-UD4-B3, Intel Core i7 2600K, 16GB Corsair DDR3, EVGA GTX 970 SC, Win7 Pro 64-bit SP1, Primary monitor @ 1920x1080, secondary monitor @ 1024x1280
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 10th Mar 2015 08:40
Hello,

I have the same problem. I made a working Escalator, but the engine makes it a box collision.
I also tried everything. changed the fpe settings etc etc and changed static to dynamic or dynamic to static.
It appaears it Always makes it a box collision.

Harry
PM
Errant AI
Forum Support
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location: [REDACTED]
Posted: 10th Mar 2015 09:09
Even if set to static, it will be quasi-dynamic because of the animation unless you bake the lighting (which will kill the animation) and even then it may retain the box collision. Try disabling animation in the .FPE and defaulting to static to see if you get collision back.
Gigabyte P67A-UD4-B3, Intel Core i7 2600K, 16GB Corsair DDR3, EVGA GTX 970 SC, Win7 Pro 64-bit SP1, Primary monitor @ 1920x1080, secondary monitor @ 1024x1280
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 10th Mar 2015 10:36
Yeah i tried that. changed the fpe and disabled the animation. still box collision. set it to static. same result. dynamic, also.
Tried also several collisonmodes but with the same result.

Then I exported the model without animation. and the collision is back to normal and you can walk upstairs.
So it looks like the animation kills the pplygon collision

Harry
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 10th Mar 2015 10:44 Edited at: 10th Mar 2015 10:45
Here is a video of the Escalator
https://www.youtube.com/watch?v=QRgzqJydrEQ&feature=youtu.be
Harry
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 10th Mar 2015 11:06
Have you tried doing it "Not" using the importer...
Manaully making the fpe etc and copying it to the entities folder ?

Just curious..
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 10th Mar 2015 11:13
yes i also tried that, but with the same result.
I tried it later with the importer to change the collision box and manually manipulate, but also with the same result..
Maybe it is something with the exporter. i used the kw x exporter
Harry
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 10th Mar 2015 12:25
Henry, you could put an invisible ramp under the escalator and the sides, that would hold the collision, then turn collision off on the escalator itself.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 10th Mar 2015 14:56
I tried putting it in static mode, but couldn't do so (there used to be a way of doing it in the editor in previous versions, but I didn't see the option). Editing the fpe file (adding defaultstatic = 1) didn't work, nor did using the model importer to import it as a static model. Very strange!
It doesn't matter, though - it is an animated model, so I'll live with the collision for now.
Thanks, Pirate Myke.
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 10th Mar 2015 15:18
hey pirate Myke,

Well that is indeed a good idea
Harry
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 10th Mar 2015 22:26
Saves headaches. and retains the animation.

Glad it helped.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Login to post a reply

Server time is: 2024-11-24 02:30:54
Your offset time is: 2024-11-24 02:30:54