Jump to content

Enabling Collision on the Trees in Sample Scene


Marcus
 Share

Recommended Posts

Sorry if this is really easy to do, but how do I enable collision on all of the trees in the sample scene? It is cool to be able to render a lot of trees, but if it doesn't perform well it means nothing. I would like to test it out, can someone help me?

Link to comment
Share on other sites

This is presently not supported, but rest assured it will be soon.

 

 

Now that, will be very handy.

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

This is presently not supported, but rest assured it will be soon.

YES!

Are you going to allow us to have our own collision model, in other words: will it use the phy file?

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Do we have a fix to support the collisions on trees? this would be very helpful, also is there a work around?

 

Still working on understanding this but is is not possible to just define the mesh as the collision object?

If it's not Tactical realism then you are just playing..

Link to comment
Share on other sites

"Do we have a fix to support the collisions on trees? this would be very helpful, also is there a work around?"

If you can decipher the vegetation.dat file, you could place your collision objects with code. But otherwise, the vegetation tool shouldn't be used for objects that need collision (e.g. trees)

 

"Still working on understanding this but is is not possible to just define the mesh as the collision object?"

Not using the vegetation tool. With normally placed models, you can have any collision object you like, created with the phygen tool. When placing a model without a phy file in Sandbox, the engine will try to generate a phy file based on the mesh.

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Link to comment
Share on other sites

cocopino, are you trying to use the collision within editor or are you having issues within Gamelib when using the scene?

 

If like me the issue is the Gamelib code I have made a mod to my version that allows the collisions to work within the Gamelib code..

If it's not Tactical realism then you are just playing..

Link to comment
Share on other sites

I don't think cocopino is having collision issues at all, I think he was just answering your question. Collision is not currently supported on objects placed using the Vegetation Layer function, its fully supported with anything else.

Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++

Link to comment
Share on other sites

As pointed out "Collision is not currently supported on objects placed using the Vegetation Layer function"

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

Posted 02 December 2009 - 05:00 AM

 

This is presently not supported, but rest assured it will be soon.

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

I dont recall veg layers ever having collisions .. so not sure if it did get broke to be put back in ..

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

I was thinking on entity basis.

 

 

:) but your Q was "if you place with the vegetation tool"

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

well thats just crazy... Why wouldn't the engine render the trees and its scripts the same way? It shouldn't matter how you load them

Vegetation is rendered with a highly specialized system that is designed specifically for drawing large numbers of static repeating objects. You would never be able to render 100,000 trees using the conventional entity system.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

"You would never be able to render 100,000 trees using the conventional entity system."

That's highly understandable, but it sure would be nice to have both collision and the automatic LOD function working together, either by using the vegetation tool or by manually placing an object.

desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP

laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...