#Disable friction for ECS entities

1 messages · Page 1 of 1 (latest)

vale token
#

Hi, I am attempting to disable the friction for specific physical ECS entities, because I handle the friction calculation in my own system.

I am using the samples provided from the Unity.Physics package to set PhysicsShape and PhysicsBody and control the friction there, however it doesn't appear the friction is fully disabled.

I did a quick experiment, where I set the friction to 0 and applied force onto the object. With 0 friction, it should move indefinitely, however it still stopped after a couple meters, meaning some friction is still applied.

How should I disable friction completely? Did I make some mistake in my assumptions?

Below is a screenshot of the settings I used:

vale token
vale token
#

Here's additional video showcasing the difference in behaviour between ECS and GO:

https://www.youtube.com/watch?v=Gweg1afKTIE

In the video, I showcase the difference between GO and ECS behaviour, when disabling the friction for physical objects.

I use two Physics Materials:

  • "Frictionless"
    • 0 friction
    • Minimum friction combine
  • "FrictionMaterial"
    • 0.6 friction
    • Average (Geometric Mean) friction combine

I then split the world into two - the 'ECS'...

▶ Play video
#

Unless I am misunderstanding something, it doesn't appear to function in the same way.

dusky quartz
#

In the meantime you should file a bug report.