How do I dynamically control wisp possession status?
Okay so imagine you're controlling a third person puppet and you walk up to a table and press Square. That applies power to a camera that zooms in on the table top to reveal puzzle pieces, that's all fine
How would I force a dispossession of the primary puppet while in this mode and, ideally, a possession of some "hand cursor" puppet to move the pieces around?
Also, tangentially related, how do I restrict the zone of movement of a puppet so you couldn't just run the cursor all the way off camera?
-
The table controller sensor should be set to remote control instead possession and a not gate should be wired into the disable controller inputs . When you press square send a signal into the "disable controller inputs" input of the controller sensor of the puppet and the not gate of the table.
-
To elaborate on Denjo's comment:
A clean, repeatable way is to make a wireless receiver and call it "Disable Control" or something descriptive like that. Wire it to a Not gate. Wire the not gate to your controller power in the puppet.
Recap:
(Reciever > NOT > Controller's power)
Now any time you need to switch views (or disable controls for any reason), take whatever activates the camera, plug it into a wireless transmitter gadget, and make it send a signal to that receiver you wired to the NOT gate on your controller.
To take control of the cursor, I'd just make a simple toggle switch (2 counters) that turns the controller (set to remote control) on at the same time your camera change happens.
As for the zone restriction: I dont know about the puppet.
If I were to do it, and assuming your cursor is moving in only two dimensions, I would add a controller gadget to a custom sculpt, not using the default puppet logic. Then all you have to do is map movers (I'd use basic movers) to the 4 directions, and create trigger zones that span the 4 edges.
If your cursor is in the left edge zone, disable the left mover. Make sure the corners overlap so that if im in the top right corner, I can only move down or left. If they dont overlap, you could go to a side edge, and then go straight up or down to break free of the zones.
Lastly, try to break it. Make sure you can't brute-force your cursor out of the zone lol.
If you haven't made a moveable object before, you map the left stick LOCAL - if it says left stick without the "local" it's the wrong one) to 3 splitters - one straight from the left stick and one for each new split signal. Use the number displayer and go to test mode to find out which of the signals activate which direction. Map them to the corresponding mover and you're all set.
Please sign in to leave a comment.