Vai al contenuto principale

Ricerca

How do I get this floating object to rotate and face the direction my left stick is pushing in?

  • Pixl1983

    Hi Spirit-X,

    You're not alone in thinking this feels like it should be simple, but is in fact quite a challenge to get working as intended. There is a really solid solution that requires actual maths that I picked up from a remixable dream. It's really worth doing it correctly as you then have all sorts of numbers you can adjust to change the feel of the input.

    Search the Dreamiverse for 'Joystick Rotator Example'.

    I'd also recommend the 2d method of putting a tag in the world and a follow gadget on your UFO. Set the strength and springiness for Y axis to 100% and X and Z to 0 and this will snap to the height that you want your UFO to fly at.

  • Mm Bogdan & Matt

    Hi Spirit-X, I'm not sure whether you're meaning a 3D 3rd person type control or some sort of 2D control scheme where the stick is projected into screen space.

    If it's the 3D version you want a simple way to get started is just to use the basic puppet. Tunnel into it and hide all the puppet bits. Stamp your ufo inside the puppet and turn the puppet's turning speed up a lot.

    thanks
    Matt

  • Spirit-X

    Thanks both.

    Pix, great tip. Found the chip you mentioned. Well actually there were a few but one was far and away the simplest, where the guy had just split his right stick into A and C on a splitter, recombined and that fed that into Scene Space Direction on a Look-At Rotator. Actually quite ingenious!

Accedi per aggiungere un commento.