![]() |
Help ObiRopeCursor for ObiRod - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Help ObiRopeCursor for ObiRod (/thread-4310.html) Pages:
1
2
|
RE: ObiRopeCursor for ObiRod - kripa1415 - 01-08-2024 As you said, I connected in a projectile path now its not rotating around the axis. But you can see when I pull one end of the rope its not working the way I wanted. Since all other points are static its just extending through the points https://drive.google.com/file/d/1A7bgdgq9ny375hvZwjYVylg11XjHsRAG/view?usp=sharing (01-08-2024, 01:56 PM)josemendez Wrote: Hi, Oh I see let me check Hi, Now its not rotating 360 around its axis but far better now. How to prevent the slanting left/right ? I want a perfectly stable rod like rope as in that original game ? Here its tilting left/right Please check the below link https://drive.google.com/file/d/1Bk4dnMWL-OVpIiabbOpMJdqCBBQactWA/view?usp=sharing RE: ObiRopeCursor for ObiRod - josemendez - 01-08-2024 (01-08-2024, 01:56 PM)kripa1415 Wrote: As you said, I connected in a projectile path now its not rotating around the axis. But you can see when I pull one end of the rope its not working the way I wanted. Since all other points are static its just extending through the points If you want to remove all sideways movement, you could just project all particle positions to the plane that passes trough both attachment points. This will force the rope to always stay on that plane. Alternatively you could remove gravity, that will prevent slanting in the rest pose (but not while moving). RE: ObiRopeCursor for ObiRod - kripa1415 - 01-08-2024 (01-08-2024, 02:09 PM)josemendez Wrote: If you want to remove all sideways movement, you could just project all particle positions to the plane that passes trough both attachment points. This will force the rope to always stay on that plane. Hi, you could just project all particle positions to the plane that passes trough both attachment points. Could you send an example for this ? Not sure how to proceed. Any code snippet available in examples ? RE: ObiRopeCursor for ObiRod - josemendez - 01-08-2024 (01-08-2024, 02:15 PM)kripa1415 Wrote: Hi, Hi, Yes, there’s several code snippets in the manual for dealing with particle data: https://obi.virtualmethodstudio.com/manual/6.3/scriptingparticles.html |