17-07-2019, 10:52 AM
Obi cloth mesh lagging behind a model
|
23-07-2019, 05:23 PM
Sorry to nag you, but I just wanted to ask if you maybe need any help? My code can be quite confusing...
27-07-2019, 07:19 AM
Can you give any update on the problem? Cuz I kinda feel it has been abandoned.
29-07-2019, 11:29 AM
(This post was last modified: 29-07-2019, 11:35 AM by josemendez.)
(27-07-2019, 07:19 AM)cubrman Wrote: Can you give any update on the problem? Cuz I kinda feel it has been abandoned. Hi there, Sorry, I finally had time to take a look at your project. My inbox is usually flooded with messages from people wanting me to take a look at their own stuff so it can take quite a while. Specially since many of them do not consist of just a quick glance to a small project, but require me fixing a rather involved setup. I couldn't even get your sample scene to run. Opening with Unity 2018.4.3f1 (same the project was created in), there's tons of missing references. When trying to run the scene (after enabling one camera), the character just disappears. I reinstalled Unity, redownloaded the project, reopened it a second time today, same result.
01-08-2019, 01:38 PM
You need to press "H" after you start the game. Ignore warnings - everything works.
09-08-2019, 10:07 AM
Listen, I am patiently waiting in line, and I know that you are busy, but I think I have waited long enough, I've e-mailed you my problems 3 weeks ago and it had clear instructions in the mail, please give my project another look - just launch it and press H - everything works. The character is controlled with WSAD.
I cannot use your plugin until you help me and on my own I cannot fix this issue nomatter what I do.
09-08-2019, 01:20 PM
(This post was last modified: 09-08-2019, 01:29 PM by josemendez.)
(09-08-2019, 10:07 AM)cubrman Wrote: Listen, I am patiently waiting in line, and I know that you are busy, but I think I have waited long enough, I've e-mailed you my problems 3 weeks ago and it had clear instructions in the mail, please give my project another look - just launch it and press H - everything works. The character is controlled with WSAD. Hi there, Not sure how I was supposed to figure out that pressing H gets it to run, as your original email contained no instructions on how to do so: Quote:Dear Josemendez, I just took a look at your project (which is quite contrived, btw). Turns out you had "simulate in local space" disabled in your solver. Since you move your character in Update() (ScriptManager.cs triggers OnUpdate for all your ZhiBehaviours, which in turn call Mover's Move(), which in turn moves the CharacterController), and simulation takes place in FixedUpdate which is called before Update(), there's a 1-frame delay to begin with. This is made worse by the fact that the simulation is taking place in world space, so only fixed particles move with the character (1 frame after it has moved), then all other particles have to play catch-up with them. Character cloth is strongly recommended to be simulated in local space all throughout the docs: http://obi.virtualmethodstudio.com/tutor...cloth.html http://obi.virtualmethodstudio.com/tutor...space.html Enabling local space gets rid of any floating point precision issues derived from moving your character far from the scene's origin, gives you fine control over inertial forces, and also gets rid of most glitches derived from script update order, since simulation takes place in the character's root reference frame directly. That's why it is a must for characters (though it is useful in many other situations). PD: sent you a video to your gmail account showing the fix. kind regards,
Thanks a lot for your time, seems like my original e-mail with all the instructions was lost somewhere - will be sure to copy all of it's contents into my furhter messages in the future, anyway I am glad we managed to understand each other.
Btw, just checked - your message did not arrive to me either (spam folder does not have it either). There clearly is some technical problem between our mailing services. Will go test local space simulation now. Tested local space - everything works, thanks! |
« Next Oldest | Next Newest »
|