Lifelike actions and reactions - adding physics to your game

  Рет қаралды 9,372

Unity

6 ай бұрын

From advanced 3D open worlds to the smallest 2D title, all games need physics to give them weight. In this video, Nicolas Borromeo and Vera Mommersteeg dive into Unity’s physics solutions for common use cases as well as challenges such as ghost collisions, tunneling, and unexpected bounces. You learn more about choosing and using NVIDIA PhysX, Unity Physics, or Havok Physics for Unity - and see how creators are integrating physics in their games.
Speakers:
Nicolas Borromeo, Senior Software Development Consultant, Unity
Vera Mommersteeg, Senior Physics Developer, Unity
#unity #gamedev

Пікірлер: 18
@dreamisover9813
@dreamisover9813 5 ай бұрын
It's really nice that newer unity versions have that contact event
@unlockener
@unlockener 6 ай бұрын
Great video 👍
@Sharpyveyron
@Sharpyveyron 6 ай бұрын
How do u get on unity when the comferm email continue buttons doesn't work
@SuperZymantas
@SuperZymantas 6 ай бұрын
standar unity :D
@NibbleByte
@NibbleByte 6 ай бұрын
Now I know what each collision detection mode does. It's not rocket science. Only physics science. :D
@lightbug6103
@lightbug6103 6 ай бұрын
17:47 The code on the left is not a good example. That code overrides the contact normals of all valid (a.k.a hasModifiableContacts == true) pairs. I've seen examples like that all over the internet, and even in their documentation page. The correct way of dealing with contact modification stuff per object is by checking if "this" object (the one with the script) belongs to the pair or not. If so, then do whatever you want.
@tryfinally
@tryfinally 6 ай бұрын
Subscribing to the ContactModifyEvent once and processing contacts in batch is OK and much more performant than having every object in your game subscribe separately and process the entire contact list looking for the one relevant contact.
@lightbug6103
@lightbug6103 6 ай бұрын
@@tryfinally Yes you are right, that's why i said "per object" . What i really mean is that, if you want to use it as just another OnCollisionXXX message, then you need to identify the pair beforehand, unless you want to affect external pairs for some reason. The problem with some of these examples is that people might look at this "new" event and think it is similar to OnCollisionXXX. A better option would be having a dedicated system/controller that could handle each pair, and then notify each of the bodies separately in the same way OnCollisionXXX/OnTriggerXXX does. In my case, I have a custom OnContactModify callback which gives me the "other body" id, the current physics scene, and the pair. And like you said, it is a LOT faster when you have lots of bodies.
@infntegaming
@infntegaming 6 ай бұрын
Ok 👍
@angelaperez5248
@angelaperez5248 6 ай бұрын
Interesting ♨now 🌟💗
@samyaris8738
@samyaris8738 6 ай бұрын
Where is Unity 6 ???
@TotallyNotInspired
@TotallyNotInspired 6 ай бұрын
There is no unity 6, they changed the naming to years, so your question shoukd be where is unity 2023 LTS
@v0ltdev
@v0ltdev 6 ай бұрын
​@@TotallyNotInspired they said they are going to change back to the old versioning, so 2023 LTS its going to be unity 6
@Heisenberg-SayTheName
@Heisenberg-SayTheName 6 ай бұрын
they said they will stop using that naming convention. so the next major release will be Unity 6, and not Unity 2023. @@TotallyNotInspired
@phantomedgedamascus2388
@phantomedgedamascus2388 6 ай бұрын
game will never be the same again 😊
@ZombieGrinder60k
@ZombieGrinder60k 6 ай бұрын
This is a very VERY misleading name for the talk.
@Tortuap
@Tortuap 6 ай бұрын
That's good info, but that's old info. Nothing thrilling here.
@kishirisu1268
@kishirisu1268 6 ай бұрын
Just pay install fee and Unity will do all the rest 😂😂😂
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 45 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 35 МЛН
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 31 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 35 МЛН
Кім бірінші schoolboy runawayды жеңеді?
24:24
ҚЫЗЫҚТЫ-СӘТТЕР
Рет қаралды 71 М.
skibidi toilet 76 (full episode)
8:11
DaFuq!?Boom!
Рет қаралды 20 МЛН
СБЕЖАЛ ОТ РОДАКОВ ЧЕРЕЗ ПОТОП и ЭТО ЗАКОНЧИЛОСЬ ПЛОХО!! (SchoolBoy Runaway)
10:01
ShadowPriestok - Евгений Чернявский
Рет қаралды 411 М.
РАТТЕ, почему ты меня ПРЕДАЛ?
5:04
• Gerand •
Рет қаралды 505 М.