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

Timing with division

Archive: 1 post


I don't really know what use this could serve but here it is
I will explain this in chunks of explination, not exact, so the concept is just explained

1st you would need some sort of memory system like a feedback loop

Then you just input your add and subtract inputs for the memory unit, and you are ready to begin

To set up the timing first make it start subtracting a set amount of itself (like 1/6 and lets say you start out with 60, then you will be reduced to 50, then 41.66r, then 34.722r etc.)

next is the trickiest part which is the readding (because if you do -1/6 of 60 then add 1/6 of 50 u will get 58.33r not the desired 60 back cause of differences)

To solve readd difference you just do the reciprocal -1(subtract one because initial amount is always still there) (ex 5/6 because youre reducing to 5/6 of original amount) -> +(6/5) -> (1/5) then if you use this in readding its 50+1/5(50) which is 60

so if you just let this run its course at 30hz, then you will be able to undo at the same rate (except it will take one tick longer because when it refills it is at 99.99r instead of desired 100, so that is the most minor problem, still with its potential fixes)

Pics to come soon
2014-01-17 08:00:00

Author:
amiel445566
Posts: 664


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.