Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

How do you make a smoothly rotating flying object?

Archive: 8 posts


I'm experimenting with flying objects. I want to make something like a small spaceship you can fly around. I can get it to work and fly pretty well, the only problem is the rotation.

So I have a control seat. On the circuitboard is an advanced mover, an antigrav tool and a joystick rotator. The mover and the rotator are both mapped to the left analog stick.

When I'm flying it, and I push in a given direction, the ship rotates towards the direction I push and moves towards the direction I push. The problem is that after I let go of the stick, it still rotates a bit. I want it to continue to point in the last direction the analog stick was pushed.

I tried increasing the dampening, while increasing the mover speed to compensate. The movement speed is fine, but now the rotation is super slow and takes forever to catch up to the movement of the ship.

What's the best way to make this turn and move simultaneously?

Thanks for your help!
2011-01-23 08:09:00

Author:
Justin Hopewell
Posts: 135


I hopped on LBP to figure out this problem. Tried two things. What worked for me was the set up that you have now and everything. I, however, added a rocket rotator pointing in the direction of where my vehicle (a triangle) pointed when moving forward. I didn't get any of those annoying random spins. Say you flick your stick in the top right corner your vehicle should be facing that direction. Also, I added a touch of dampening to keep the movement a little more smooth. Hope this helps 2011-01-23 08:33:00

Author:
Slushy
Posts: 4


Thanks for the tip, Slushy, I'll give it a shot. If anyone else has any suggestions in the meantime, I'm open to them also. : )2011-01-23 09:46:00

Author:
Justin Hopewell
Posts: 135


The only problem i have with a rocket rotator is that when you fly backwards your spaceship in this case would be upside down.
If you decide that you don't want the object to move ?n a diagonal direction, it would be wise to add a gyroscope.
2011-01-23 10:04:00

Author:
TjoxYorro
Posts: 220


Hmm, if that's the case, then that won't work. I need the spaceship to be oriented properly. : /2011-01-23 17:41:00

Author:
Justin Hopewell
Posts: 135


Tweak your Antigrav-Tool a bit:
Anti-grav set to 100%
Air resistance to 99%
Last option to 0%

The Air resistance should make your ship stop where you left it.

Hope it helps
2011-01-23 18:02:00

Author:
Unknown User


Tweak your Antigrav-Tool a bit:
Anti-grav set to 100%
Air resistance to 99%
Last option to 0%

The Air resistance should make your ship stop where you left it.

Hope it helps

Thanks for the suggestion.

I'm assuming air resistance was what dampening was called in the beta, because there is no air resistance option on the anti-grav tool.

If that's what you meant, then you're right that it will stop rotating when i let go of the stick, but also keep in mind that I stated the dampening effect would make my ship rotate very slowly. For instance, if I was flying right, then immediately tried to fly left, it would take a few seconds for the rotation to catch up and point to the left due to the high dampening.
2011-01-23 19:44:00

Author:
Justin Hopewell
Posts: 135


Since the dampening is 99% make your speed on your ADV. Mover and Rotator really fast to even out the dampening effect.2011-01-24 05:18:00

Author:
Slushy
Posts: 4


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.