Browsing articles tagged with " physics"
Sep
23
2017

Drawing 2D lines and Adding Collider to it

Hi awesome reader! In our past tutorial “How to Draw Line” we discussed about drawing a line in the game by mouse interaction. But sometimes we need to draw a line that collides with our game objects in 2D mode. So we need to add […]

Oct
17
2015

Custom Particle System Simulation

Started making Handmade Hero particle system with Unity+c# View source project in Github (still work in progress) https://github.com/unitycoder/CaseyParticlesForUnity   See original HandMadeHero videos here: https://www.youtube.com/watch?v=G6OGKP3MaUI (Handmade Hero Day 155 – Introduction to Particle Systems) https://www.youtube.com/watch?v=HH_iaJairW8 (Handmade Hero Day 156 – Lagrangian vs. Eulerian Simulation) — […]

Mar
11
2015

PointEffector2D

Unity5 comes with new PointEffector2D How to use it? – Add sprite to scene – Add CircleCollider2D (or some other 2D collider) – Enable: [x] Trigger *Note: Effector works without trigger enabled also, but only when other object is touching the collider. – Enable [x] […]

Nov
13
2013

Convert old project to 2D physics & Sprites

Started converting this shootemup test into Unity 4.3 2D physics ( old: http://unitycoder.com/blog/2013/09/27/shoot-em-up-proto-unity/ ) Webplayer: (using new 2D physics & sprites, no collider on player yet) http://unitycoder.com/upload/demos/Shmup3_2D/ Some conversion notes so far: SHMUP TO 2D SYSTEM Lets test.. 2D viewport Enabled! Camera: –          Setup Camera […]

Apr
12
2013

Water Particles

Converted this javascript demo to Unity C#: Aqualibrium by Gerard Ferrandez Info: – Had to make some modifications since all those javascript [this] that.x variables were quite complicated..but seems to work 🙂 – Screenshot shows 500 spheres with debug.drawlines to each neighbour particle (added gravity […]

Mar
19
2013

Fast Projectiles

Testing a script for fast moving projectiles (since normal physic objects always go through walls..) Current version info: – No colliders, rigidbodies or raycasts for the projectile – Just move the objects inside FixedUpdate() – Projectile gets the target point when clicked, it doesnt check […]

Oct
21
2012

Trajectory Test Scene 2.0

Using trajectory script from unity answers, this is a test for the Rampart prototype.. Would be nice to add the trajectory preview line also (I think I’ve seen that in the forums..) and some randomness or wind? Red target mark is light projector, with custom […]

Jul
25
2012

Verlet Integration : Cloth

New verlet integration test: cloth (converted to Unity from Verlet Integration  by Ben Kenwright) Webplayer: ..  

Apr
7
2012

Verlet Integration

Testing Verlet Integration for Unity, converted from processing/java. (screenshot doesnt look too interesting..) (Verlet Integration Example by Ira Greenberg , licensed under Creative Commons Attribution-Share Alike 3.0 and GNU GPL license) So far the ropelines work fine, looks like realistic physics.. Not sure if I […]

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.