|
|
problem of particle position |
Posted by: FZMv587 - 23-12-2020, 02:11 PM - Forum: Obi Rope
- Replies (3)
|
|
Hi bro.
I make a rope and move it in runtime.
Now,i want to get some particles world position but i failed.
I use
Code: actorIndex = rope.blueprint.groups[0].particleIndices[0]
to get actor index of this particle.
And i use
Code: solverIndex = actor.solverIndices[actorIndex]
to get solver index of this particle
Finally,i use
Code: position = actor.GetParticlePosition(solverIndex);
to get world position of this particle
Problem is this position is not change when i move rope, so i think maybe it is a local position.
Could you help me to get world position of particle?
Think you,waiting for you repose.
|
|
|
air drag? |
Posted by: zagoalie - 21-12-2020, 02:06 PM - Forum: Obi Cloth
- Replies (1)
|
|
I'm noticing something odd, no matter what drag value I set the cloth too, continual motion does not result in the hanging part of the fabric staying behind the moving object.
https://i.gyazo.com/a8cae921d9e01746173a...1d35b6.mp4 notice in this video hos the cloth at the beginning trails behind the hand, but then it starts catching up to the hand and even moves in front of it before the hand has even started slowing down.
I have both a linear inertia scale and world angular interia scale to 1
|
|
|
Gloth dragging behind parent, help |
Posted by: zagoalie - 21-12-2020, 01:16 PM - Forum: Obi Cloth
- Replies (6)
|
|
I am using A Obi skinned renderer on some fabric attached to a 3d hand/curser. when I move the hang around the cloth seems to lag behind it. the part of the cloth along the top of the hand is set to zero on all of its constraints, yet still, it seems to trail behind the hand.
here is video of the issue: https://gyazo.com/86cc2f1cc0ea6ee0817190786a4dbdf6
I have tried turning damping on and off as well as interpolation and shock propagation seems like none of the obi solver settings fix this problem.
my goal is that the top of the cloth stays bound statically to the hand, and only the hanging tails move around in relation to how the hand is moving.
Edit: i am also using the particular attachment script attaching the upper cloths particles to the bone in the for arm, still no luck.
|
|
|
how to get control point coordinate |
Posted by: FZMv587 - 21-12-2020, 10:49 AM - Forum: Obi Rope
- Replies (1)
|
|
Hi,there
I made a rope use blueprint to set it's shape,and i move it position in runtime。
So,is there any method can let me get the new position coordinates of those control points(i set those control point when i set blueprint)in scripting?
I want control points position not particles position,could you help me?
|
|
|
ARでObiFulidの衝突 |
Posted by: kawarazaki - 21-12-2020, 04:22 AM - Forum: Obi Fluid
- Replies (6)
|
|
こんにちは。現在、AR Foundationを使用してIpadでARアプリを開発しています。このアプリは、スペースをスキャンしてメッシュを生成できます。
私がやろうとしているのは、メッシュを生成し、メッシュと衝突するOBI流体を使用してインクを発射することです。
現在、iPadでアプリを起動すると、最初に生成されたメッシュで衝突が発生します。ただし、衝突はで機能しません
2番目に生成されたメッシュ。
この問題の解決策はありますか?解決策がありましたら、解決方法を教えていただければ幸いです。
私が使用しているUnityのバージョンは2019.4です。
|
|
|
|