grab following a line
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
grab following a line
how do i make so the player can grab an object but he cant move it everywhere, only at points that i choose? (not floating points, maybe a line or a curve)
Re: grab following a line
If I had time I would show a couple of techniques to do this sort of thing. It depends on whether you want to track a line or have a range of movement that then snaps to nearest point after dropping. I am sure other people will be interested in this as an experiment so you may have other suggestions, but for the purposes of an answer here and now, malte's Animation Engine will make this very simple to "constrain" https://livecode.com/extensions/animati ... e-5/6-0-0/
It's dual licenced for Commercial and Community versions
It's dual licenced for Commercial and Community versions