Neofur Vr Interaction Motioncontrolers
i saw a video part about interacting with fur. with motioncontrolers cant seems to understand which part of asset does that and what it requres in my project to work. is there a video planed specific about that?
or is is it easy to point directions, havinga hard time with touch controlers in general, sich i cant programm;)
kind regards
Daniel
Answer
Hiya Daniel,
I believe in the VR demo we had used the "Radial Forces" feature. You would essentially have a script that does something like this at the position of your motion controllers if they are touching fur:
NeoFurAsset nfa = collider.gameObject.GetComponent<NeoFurAsset>(); if (nfa) { RadialForce rf = new RadialForce(); float falloff = 1.0f-Mathf.Clamp01(Vector3.Distance(myMotionController.position, nfa.transform.position)/radius); rf.Origin = myMotionController.position; rf.Radius = radius; rf.Strength = power*falloff; nfa.AddRadialForce(rf); }
If I find out we did something different, I'll let you know.
Cheers,
Wyatt
i have no idea how to add a script in text form. is it in the demo scene as file?
kind regards
Daniel
is radial forces like phyisic or only trigerable by script? cos radial forces is a new concept for me and cant find step by step documataion about it:) i am rather step by step video totorial guy;) the good days hehe:) i loose track of steps in smal documantation about ratial forces on site:) guesing its me.
It's something specifc to NeoFur. There's an example in the demo scene.
found it! thanks, script was on demo scene folder already, thanks! almost gotmit to work!
Awesome! Glad to hear that.
I'm going to mark this post as "Answered" for now. Feel free to post here again if you run into any other roadblocks regarding this.
Cheers,
Wyatt
Customer support service by UserEcho
found it! thanks, script was on demo scene folder already, thanks! almost gotmit to work!