- Home /
water slide mini game unity
i would like to make a water slide mini game, what would be the best way? Only physics? Path movement? Path with side animations? Loo out? Pivot lock?
There are going to be coins to collect along the "tube" and the char cannot fall.
What do you think?
best regards, Xamps
Answer by AngryOldMan · Mar 29, 2011 at 11:24 PM
physics, rigidbody sounds like it would be the easiest way to achieve the effect you want. then you can use rigidbody add force to edge left and right for picking up coins.
Answer by Jason B · Mar 29, 2011 at 11:53 PM
As Bobadebob said.
Physics is the easy way out of most situations... but it's also the best way in a handful of them. This might be one, especially if your water slide is really twisty.
The hardest part about the approach is making sure the player can't eject themselves from the water slide (a collider over the top of it will be in order) and getting the physics behaving properly.
Since this sounds like a very simple mini game with really only one moving physics object, you should be able to get away with enhancing the quality of physics calculations without much slowdown, if any.
You may also want to make some kind of stabilizer to torque the player into a facing up position (gently, just to keep them from flipping onto their face or something, unless you want that).
Your answer
Follow this Question
Related Questions
Moving 2D Sprite Object in Curve path. 4 Answers
A node in a childnode? 1 Answer
Dynamic Path Generation for 2D 0 Answers
Access path of stored asset 0 Answers