Forums Gallery Downloads LOGIN |REGISTER

Touch bending bug [SOLVED]

Topics about 3DS Max, Maya, Photoshop, and various other software packages.


 

User avatar
rGOt
Not my first Rodeo
Not my first Rodeo
 
Posts: 494
Member since: 07.07.2011, 20:44
Location: France
Likes: 11

Touch bending bug [SOLVED]

Postby rGOt » 24.02.2012, 20:28

Hello
It's a example to Palm touch bending work:



In fact, I activated mode "p_draw_helpers" to make visible the proxy.
In fact, the proxy "dummy" disappear and the "bending touch" turns off by itself (when I stopped moving).
If anyone has a solution to my problem ...
Last edited by rGOt on 19.03.2012, 16:51, edited 1 time in total.
Image
Architect
Developer
Developer
 
Posts: 369
Member since: 05.03.2010, 17:23
Likes: 5

Re: Touch bending bug

Postby Architect » 26.02.2012, 01:27

what's the problem? Seems like it works, when you shoot the leafs, they deform or bend on impact.

You didn't walk through the trees in the video, so can't tell if there is a problem with character touch bending. Make sure you have both the proxy for bending AND proxy for ai, or problems might occur.

Also make sure the trunk and all the foliage is one object group as elements. seems to avoid problems.
User avatar
Liam
Staff Lead
Staff Lead
 
Posts: 5717
Member since: 16.11.2008, 14:21
Location: Wolfsburg, Germany
Likes: 30

Re: Touch bending bug

Postby Liam » 26.02.2012, 01:29

/Moved to CE3 Asset Creation
User avatar
rGOt
Not my first Rodeo
Not my first Rodeo
 
Posts: 494
Member since: 07.07.2011, 20:44
Location: France
Likes: 11

Re: Touch bending bug

Postby rGOt » 26.02.2012, 17:22

Architect wrote:what's the problem? Seems like it works, when you shoot the leafs, they deform or bend on impact.

You didn't walk through the trees in the video, so can't tell if there is a problem with character touch bending. Make sure you have both the proxy for bending AND proxy for ai, or problems might occur.

Also make sure the trunk and all the foliage is one object group as elements. seems to avoid problems.


If I stop my move, the proxy disappear (shown in video) and leaves no longer react when I shoot. I am forced to move slightly for the proxy respawn, then the leaves move when I shoot.

Architect, I put a layout file, could you look?
http://rgot.free.fr/Warhead2/Max/palmier3-tmp.max
Image
Architect
Developer
Developer
 
Posts: 369
Member since: 05.03.2010, 17:23
Likes: 5

Re: Touch bending bug

Postby Architect » 29.02.2012, 05:56

Follow this , it should clear things up.

http://freesdk.crydev.net/display/SDKDOC3/Touch+Bending

or download the sample assets file below (at the bottom of page). Included you will find the trees.max file. open that up and study it if reading ain't your kind of thing.

dm_eds/download_detail.php?id=4

Pay close attention to the material ID setup, and the schematic view link setup in max.
Architect
Developer
Developer
 
Posts: 369
Member since: 05.03.2010, 17:23
Likes: 5

Re: Touch bending bug

Postby Architect » 01.03.2012, 01:49

Did a few test, your right, the tree system seems to be optimized compared to crysis1.

First off the physics enable only if you enter the obstruction proxy. Other wise you can't even shoot the leafs from a distance.

Second once the physics are enabled, it's active for 5 seconds and then shuts down.
(unless you keep stimulating the system by firing (and hitting the rope system) or continuously moving through the leafs)

This is not bad for touch bending, probably saves unnecessary calculations, but for shooting the leafs you need to create a obstruction proxy at least the size of the first LOD radius, or you wont be able to activate physics and experience bending from shooting the leafs.

As for the 5 sec delay before physic's turn off, not bad for performance, But there should be a way to customize the duration of the delay? Or your right, it could be a bug.

Hopefully we can get some CryAdmin on this asap. And if it can't be figured after that, submit it under feedback section. they should fix it next update.
User avatar
rGOt
Not my first Rodeo
Not my first Rodeo
 
Posts: 494
Member since: 07.07.2011, 20:44
Location: France
Likes: 11

Re: Touch bending bug

Postby rGOt » 04.03.2012, 15:52

Thank you for taking the time and thought up my problem.
It is true that the physical deactivates after 5 sec on ​​assets exported from 3dsmax.
By cons, the problem does not exist on the default of Crysis2 bushes, bending the touch run without problem on these items, even at a distance.
So I call for help.

current rendering:
Image
User avatar
rGOt
Not my first Rodeo
Not my first Rodeo
 
Posts: 494
Member since: 07.07.2011, 20:44
Location: France
Likes: 11

Re: Touch bending bug

Postby rGOt » 15.03.2012, 00:00

Problem solved!!!!!!!!!!!!!!:
In flow graph: e_FoliageBranchesTimeout 100 (Debug:ConsoleVariable)

=)
Last edited by rGOt on 19.03.2012, 16:52, edited 1 time in total.
Image
Architect
Developer
Developer
 
Posts: 369
Member since: 05.03.2010, 17:23
Likes: 5

Re: Touch bending bug

Postby Architect » 15.03.2012, 08:35

Excellent find :P

Put the answer in large color coded text so everyone can quickly recognize it hehe

I knew it had something to do with optimization features. How did you find it, just stumped upon it going through cvars? hehe
User avatar
themodman101
Producer
Producer
 
Posts: 2868
Member since: 26.11.2007, 02:03
Location: USA
Likes: 140

Re: Touch bending bug

Postby themodman101 » 16.03.2012, 06:19

This was quite helpful, thanks very much for this :)
User avatar
rGOt
Not my first Rodeo
Not my first Rodeo
 
Posts: 494
Member since: 07.07.2011, 20:44
Location: France
Likes: 11

Re: Touch bending bug

Postby rGOt » 19.03.2012, 03:19

@Architect
I searched doggedly

@themodman101
The purpose of a community is to share


Download map with vegetation touch bending:
http://rgot.free.fr/Warhead2/WARHEAD6.rar

Image
User avatar
rGOt
Not my first Rodeo
Not my first Rodeo
 
Posts: 494
Member since: 07.07.2011, 20:44
Location: France
Likes: 11

Re: Touch bending bug [SOLVED]

Postby rGOt » 23.03.2012, 00:59

WORKS TUTORIAL (sorry in French):
Touch bending Tutorial.txt
(4.54 KiB) Downloaded 33 times
Image


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community