![]() |
Obi Rope + Game Creator 2 Grappling Hook - 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: Obi Rope + Game Creator 2 Grappling Hook (/thread-3750.html) |
Obi Rope + Game Creator 2 Grappling Hook - Skcmmj - 29-01-2023 Hey, I'm trying to use Obi Rope to create a grappling system using Game Creator 2 - First Person I've played around with the Obi Rope Grappling Hook Demo scene, I can't seem to figure out how's the ropes even spawning and how to make it shoot from my player. Any suggestions or help with achieving this would be greatly appreciated. In the demo scene, I've disabled all the objects and even the 2d script, the hook still shoots and connects, But I don't understand how its even doing that. Is there any readme? or instructions how to create this in first person? RE: Obi Rope + Game Creator 2 Grappling Hook - josemendez - 30-01-2023 (29-01-2023, 11:34 PM)Skcmmj Wrote: In the demo scene, I've disabled all the objects and even the 2d script, the hook still shoots and connects, But I don't understand how its even doing that. Hi there, There's no "2d" script in that specific scene, there's only a few platform cubes, a UI canvas, and a ObiSolver which contains the player and the hook. You'll find a "Capsule" GameObject (which represents the player) inside the ObiSolver object. The capsule has a child named "Hook" which contains the "ExtendableGrapplingHook" sample component that controls shooting and anchoring the hook. You can also just type "hook" in the scene hierarchy search box and it will lead you to the relevant object/scripts. (29-01-2023, 11:34 PM)Skcmmj Wrote: Is there any readme? There's a QuickstartGuide.pdf readme in the installation folder that points you to the manual: http://obi.virtualmethodstudio.com/manual/6.3/ Also in Window->Obi->About you'll find links to both the manual and the API documentation: http://obi.virtualmethodstudio.com/api.html Note that Obi is a quite advanced physics engine, in case you're not familiar with C# scripting and/or basic physics concepts (such as forces/impulses/acceleration, mass/inertia, vector spaces, etc) you will likely have a very hard time using it since both are required. (29-01-2023, 11:34 PM)Skcmmj Wrote: or instructions how to create this in first person? Just make sure the ObiSolver is in 3D mode, then adjust object positions until you're happy. You might also need to modify the extendable hook sample script to match your use case. kind regards, RE: Obi Rope + Game Creator 2 Grappling Hook - Skcmmj - 30-01-2023 (30-01-2023, 08:45 AM)josemendez Wrote: Hi there, |