How do I posses something?
I've sculpted some objects and I'd like to be able to move them around.
-
Hey,
In order to make an object possessable, it needs a Controller Sensor -- this is the gadget that lets the imp possess things, and also lets you hook up the buttons on the controller to actions (e.g. to make your sculpt move, light up, etc.)
You can find the Controller Sensor in the palette, under Gadgets > Sensors and Inputs > Controller Sensor. Hover your object with the Controller Sensor equipped, hold L1 to snap it onto the surface of the object, and while still holding L1, press R2 to stamp it down.
Once you do this, your object should be possessable.
To make your object move, you can stamp a Mover onto it. You can find them under Gadgets > Movers & Output in the palette.
To make your object move when the player presses a button, tweak the Controller Sensor. On pages 1-3, you will find outputs on the right-hand edge of the tweak menu for each button on the controller. You can then wire these to the Power input of your Mover to ensure it only turns on when the user presses a button (X, for example).
Hope that helps :)
- Liam -
Thank you so much for responding so quickly. This will provide plenty of fun this weekend.
請登入寫評論。