Jump to content

Floating Object


omid3098
 Share

Recommended Posts

I want to float my boat. here is what I did:

well. first I have a boat with optimized collition tree (convex hull type).

I checked oildrum properties and used it's .lua file as my boats .lua and used same .ini file.

with these properties:

 

floating%20boat.JPG

 

now when I drag oildrum, it will fall down and float on water, but when I drag boat, it will not even fall down :(

Omid Saadat

OD Arts Blog

 

AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86

AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc)

Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop)

Link to comment
Share on other sites

any ideas?

 

 

Good morning Omid, what did you use to generate the .phy file?

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Good afternoon Marleys Ghost :) !

I exported it directely using Alex exporter..

 

 

Which means you are using Max which I dont have, I asked because when I have had things not effected by gravity/physics it was a .phy file issue. Not having Alex's exporter I have no experience with it.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

You should make sure your phy file isn't a phy tree file - those are just for static objects and not for physical interaction except collision. Try to generate a convex hull instead. The files which are generated by Leadwerks automatically are physical trees.

 

 

Morning Gardowyr, I think Alex's Max exporter does that, from what I have read about it, not from actual use though.

 

If it does not then maybe saving the Boat as an .obj file and creating a new .phy with the LE tools might be something to try.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

ah.. thats it! thank you guys. :) I have to export my model to obj and then use phygen. it seemd there is something wrong in ArBuz exporter.

Omid Saadat

OD Arts Blog

 

AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86

AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc)

Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop)

Link to comment
Share on other sites

ah.. thats it! thank you guys. :) I have to export my model to obj and then use phygen. it seemd there is something wrong in ArBuz exporter.

 

 

Glad its working for you now Omid :)

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Arbuznikov's exporter does the same thing, it exports to OBJ then take the next steps as you did. I think you should contact with him, he is a nice person. I had some issues with his exporter too and sent him a mail about it, he responded very quick and took his hours to solve my problem and came with a solution very fast. I am sure he will help you too.

Link to comment
Share on other sites

yes! most of times I bother him with my irregular problems!!

because I thought this problem is puclic, I reported in his related thread instead of personal email.. :unsure:

Omid Saadat

OD Arts Blog

 

AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86

AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc)

Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop)

Link to comment
Share on other sites

Hi guys! Im sorry, Ive made one mistake! Ive included fbx2gmf.exe to exporter archive instead of obj2phy.exe! That is why the exporter didnt generate *.phy files! To fix that just copy obj2phy.exe to "3dsmax root\scripts\startup\" or redownload exporter and extract it again. I will reupload it in a few seconds. Sorry for the inconvenience :)

Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64

3ds max / photoshop CS3 / C++

http://www.arbuznikov.com

Link to comment
Share on other sites

thank you Alex ;)it is really painful to export model by your exporter, export model as OBJ, use PhyGen to generate phy and use then GMF model.

now we just need to "Export as GMF" !!!

Omid Saadat

OD Arts Blog

 

AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86

AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc)

Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...