- Home /
Question by
GongagaSwordsman · Apr 30, 2019 at 01:16 PM ·
physicsprefabaxisforcemove an object
How do i make a cube "slide"and fixed on a rail?
I need to make a mechanism\puzzle prefab that basically consists in a cube that slides, let's say, in a immobile rail, how do i accomplish such thing? i thought i'd lock the Y axis and let the others free - while the object is moved by another object's force, but i'm just a beginner programmer and i'm pretty much clueless. Any advice is welcomed, as it is a better approach to this!
Comment
Your answer
Follow this Question
Related Questions
How not affect other objects with physics of Detonator? 1 Answer
Bouncing an object from A to B 2 Answers
Move gameobject at constant speed 1 Answer
Problems making a glider 3 Answers
Character Controller meets Rigidbody 1 Answer