How to implement fishing rod, line and a floater in UE4

Started by
2 comments, last by pele90 3 years, 7 months ago

Hello everybody,

need to implement fishing mechanics in UE4. The biggest problem is how to implement fishing line that can move a floater on the water by pulling the fishing rod left or right.

Cable component is not very helpful because it is more visual solution. Maybe PhysicsConstraintComponent?? Bone animation?

I am trying to avoid implementing all the physics myself. But if that is the only solution… ?

Thanks in advance!

Advertisement

Not a definitive, but you could experiment with these:

  • IK (inverse kinematics) and FK (forward) whereby the floater could be the end-effector.

here are a couple of links to get you going:

https://www.mathworks.com/discovery/inverse-kinematics.html#:~:text=Inverse%20kinematics%20is%20the%20use,between%20bins%20and%20manufacturing%20machines.

https://docs.unrealengine.com/en-US/Engine/Animation/IKSetups/index.html

You may also need to know what a Jacobian matrix does in all this:

https://www.mathworks.com/help/symbolic/jacobian.html

  • "Spring Physics in games", just google this. You may need to relax the spring-damper system to get a better feel on the line and the effect on the rigid body (the floater)

That's it … all the best ?

@ddlox Thanks for the reply. This is very helpful. Maybe know how to determine the tension of the fishing line? ?

This topic is closed to new replies.

Advertisement