Posts

Showing posts from March, 2018

Week 7 Practical

For our week 5 practical, I needed to create a scene with buoyancy enabled on a water based object, following a lecture based on elastic collision and buoyancy. Buoyancy: Buoyancy is an upwards reactive force applied to liquids which counteracts the weight of an object. Gravity is pushing an object downwards (based on the mass), and the density of a liquid is pushing the object upwards. Elastic Collisions: Elastic collisions means that the collision of multiple objects are not affected by momentum (amount of motion on an object) or kinetic energy loss (loss of energy on a moving object). My Scene: In the scene, a bullet spawns on a key-press from the orange cannon. The bullet becomes affected by buoyancy, based on a random mass and volume. My Scripts: Properties Dynamic Objects Shooting

Week 5 Practical

For our week 5 practical session, we were asked to produce a scene which took the concepts of forces, slopes and gravity. In this scene, it demonstrates the use of gravity, acceleration, local forces, slope, and object mass. The scene included: A player character (as a yellow cube) with gravity, acceleration . Two red platforms with harmonic motion Two green platforms with random friction coefficient Two blue platforms with random slopes on the Z axis The video demonstrates two run-time sessions of the game: Slope angles on Z-axis: -7.43 and 1.65. Friction Coefficients of 0.96, and 0.80. Slope angles on Z-axis: -19.35 and -9.90. Friction Coefficients of 0.509, and 0.506. Codes: Player Movement Friction Coefficient Random Slope