Posts

Showing posts with the label Physics Engine

Unity - Exploring the Physics - Rigidbody and Drag

Image
March 10, 2021 Rigid Body Physics Unity Title: How is Drag Calculated by Unity Engine? Unity Forum - Link Description: Explanation of someone's testing of Unity's rigid body drag value. Overview I was just exploring Unity's physics through Rigidbodys and Physics Materials to see what different feels and effects I could get with them, and decided to delve a bit further into them. Rigid Body I was just doing very general testing without much research this time around just to see what I got from using the different values. Mass acts pretty much how you would expect, as it requires more force to accelerate the object and stops it faster when friction is involved. Drag Drag and Angular Drag however were a bit trickier. While Drag did reduce the acceleration of the object as it moved, and eventually the velocity as force stopped being applied, it did not appear to matter what direction or shape the object's facing direction created. I tes...

Video Game Physics - Constrained Rigid Body Simulation by Nilson Souto

January 5, 2019 Video Game Physics - Constrained Rigid Body Simulation by Nilson Souto Toptal - Video Game Physics Tutorial - Part III: Constrained Rigid Body Simulation By: Nilson Souto Link to Erin Catto's box2d.org This appears to be a good follow up to the game physics GDC talk by Erin Catto I watched earlier. This serves as another listing of physics constraints and how they can apply in games, specifically when dealing with rigid body elements. I also learned the constraint type is "revolute", not "resolute". This article actually references Erin Catto and his Box2D site since it goes into his creation of the sequential impulse method.

Physics for Game Programmers: Understanding Constraints

January 5, 2019 Physics for Game Programmers: Understanding Constraints Constraints in Game Physics Youtube – GDC - Physics for Game Programmers: Understanding Constraints By: Erin Catto EDIT: Updated to correct "resolute" constraint to "revolute" (Jan 5, 2019) Erin goes over the importance of physics constraints in physics game programming and how to implement them to add diversity and creativity when designing physics for games. Erin explains that physics constraints are to physics programmers as shaders are to graphics programming. You can use the already existing recipes that will get the job done, but designing your own will allow you more flexibility and creativity. Shaders – lighting, shadows; Physics constraints – revolute, prismatic Position constraint: in example, it is a particle that is restricted to a surface. Appears the equation should be 0 if particle is on surface, than 0 depending on what side of the surface it is on if it moves away from...

DIGM 540 - Engineering Statics Game Project - Forces in Unity

Image
May 23rd, 2018 Forces in Unity AddForce - Unity Official Tutorials Youtube - AddForce - Unity Official Tutorials The bare basics of scripting forces in Unity with rigidBody's. The AddForce can take two inputs: a vector for direction and magnitude, and what type of force it is. ForceModes Acceleration - Continuous change; not affected by mass Force - (Default) Continuous change; affected by mass Impulse - Instant change; affected by mass VelocityChange - Instant change; not affected by mass AddTorque - Unity Official Tutorials Youtube - AddTorque - Unity Official Tutorials The bare basics of scripting torques in Unity with rigidBody's. The AddTorque can take two inputs: a vector axis to apply torque around, and what type of torque it is. This is very similar to AddForce. Important to remember, Unity uses "LEFT HAND RULE" for rotation. ForceModes Acceleration - Continuous change; not affected by mass Force - (Default) Continuous change; affected by ma...
April 21st, 2018 Exploring Uses of Physics in Gameplay Physics in Games: A New Gameplay Frontier - from Gamasutra.com Article by Pascal Luban on Dec. 4th, 2007. This is an older paper explaining some of the possibilities opened up by computers becoming stronger and being able to process physics in games more readily. The author suggests ways of using physics as a core gameplay element as opposed to just some aesthetic element.
Feb. 19th, 2018 Research - Learning Physics Modeling with PhysX - Book This is a book by Krishna Kumar going over the basics of PhysX as a physics engine. Could be useful for better understanding the default physics engine, PhysX, to properly drive engineering mechanisms. Research - Book - Engineering Finite Element Analysis "Finite element analysis is a basic foundational topic that all engineering majors need to understand in order for them to be productive engineering analysts for a variety of industries. This book provides an introductory treatment of finite element analysis with an overview of the various fundamental concepts and applications. It introduces the basic concepts of the finite element method and examples of analysis using systematic methodologies based on ANSYS software." This could be useful for learning and using finite element analysis, if looking into real time finite element analysis for use in games. List of Physics Engines Wikipedia page for Ph...