ScratchData LogoScratchData
Back to hyper_li's profile

car physics v1.2

HYhyper_li•Created December 21, 2020
car physics v1.2
11
8
92 views
View on Scratch

Instructions

the shake effect make it seem like the engine is on arrow keys to drive

Description

v1.1 - added debug + void(if bug happens) + looped scrolling v1.2 - if you hit a wall you reset (there are no walls in this game) ---------------physics of this explained----------------------- this works by the wheels 2 wheels they both work the same way as the other wheel. it tracks down ground by sense and variables like if its touching or not, if it is we set the variable to 0 , else we change the variable by -1, we set the (dir variable) to 0 then change the (dir variable) that is front (+) back wheel then (-)front wheel by their variable set the direction to the (dir variable) then then change scroll x by (motor speed variable) and change scroll y by front and back variables , make sure you add controls to the physics else you cant drive ___________________________________________hmm this is getting a tiny bit popular so if this get 10 faves i might turn this into a driving game

Project Details

Project ID466604997
CreatedDecember 21, 2020
Last ModifiedApril 14, 2022
SharedAugust 28, 2021
Visibilityvisible
CommentsAllowed