View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

User avatar   Experienced Modder Experienced ModderMember since: 07.07.2011, 20:44Posts: 494Location: France Likes: 11
 

 Post Topic: Touch bending bug [SOLVED]
PostPosted 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 ...


Image


Last edited by rGOt on 19.03.2012, 16:51, edited 1 time in total.

  Trained Modder Trained ModderMember since: 05.03.2010, 17:23Posts: 366 Likes: 4
 

 Post Topic: Re: Touch bending bug
PostPosted 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   Staff Lead Staff LeadMember since: 16.11.2008, 14:21Posts: 5623Location: Wolfsburg, Germany Likes: 26
 

 Post Topic: Re: Touch bending bug
PostPosted 26.02.2012, 01:29 
/Moved to CE3 Asset Creation


User avatar   Experienced Modder Experienced ModderMember since: 07.07.2011, 20:44Posts: 494Location: France Likes: 11
 

 Post Topic: Re: Touch bending bug
PostPosted 26.02.2012, 17:22 
Quote by Architect:
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
  Trained Modder Trained ModderMember since: 05.03.2010, 17:23Posts: 366 Likes: 4
 

 Post Topic: Re: Touch bending bug
PostPosted 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.
  Trained Modder Trained ModderMember since: 05.03.2010, 17:23Posts: 366 Likes: 4
 

 Post Topic: Re: Touch bending bug
PostPosted 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   Experienced Modder Experienced ModderMember since: 07.07.2011, 20:44Posts: 494Location: France Likes: 11
 

 Post Topic: Re: Touch bending bug
PostPosted 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   Experienced Modder Experienced ModderMember since: 07.07.2011, 20:44Posts: 494Location: France Likes: 11
 

 Post Topic: Re: Touch bending bug
PostPosted 15.03.2012, 00:00 
Problem solved!!!!!!!!!!!!!!:
In flow graph: e_FoliageBranchesTimeout 100 (Debug:ConsoleVariable)

=)


Image


Last edited by rGOt on 19.03.2012, 16:52, edited 1 time in total.
  Trained Modder Trained ModderMember since: 05.03.2010, 17:23Posts: 366 Likes: 4
 

 Post Topic: Re: Touch bending bug
PostPosted 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   Uber Modder Uber ModderMember since: 26.11.2007, 02:03Posts: 2824Location: USA Likes: 112
 

 Post Topic: Re: Touch bending bug
PostPosted 16.03.2012, 06:19 
This was quite helpful, thanks very much for this :)
User avatar   Experienced Modder Experienced ModderMember since: 07.07.2011, 20:44Posts: 494Location: France Likes: 11
 

 Post Topic: Re: Touch bending bug
PostPosted 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   Experienced Modder Experienced ModderMember since: 07.07.2011, 20:44Posts: 494Location: France Likes: 11
 

 Post Topic: Re: Touch bending bug [SOLVED]
PostPosted 23.03.2012, 00:59 
WORKS TUTORIAL (sorry in French):
Touch bending Tutorial.txt
[4.54 KiB]
Downloaded 32 times


Image