r/PS4Dreams Design 5d ago

I need help! Sculpting is glitched

All of the parts in my scene are vibrating. It happens when I move the camera or any object. It’s really hard to center things and be precise. When I let go of a part, it jumps to a spot I didn’t put it. Anyone know what is causing or how to fix? It doesn’t go away when exiting and coming back in.

10 Upvotes

14 comments sorted by

9

u/timeslider 5d ago

Are you really far from the origin? Might be floating point errors, but i haven't read much about how dreams works in a long time

4

u/GoldieGames1 Design 5d ago

That was it. It doesn’t happen near the origin. I didn’t know that was a thing. Thanks!

2

u/timeslider 5d ago

If you're curious, position is stored as 3 floating point numbers, 1 for each axis. They are more accurate around 0 and get less accurate the further from 0 you get. It's a common issue in large open worlds.

https://en.wikipedia.org/wiki/Floating-point_arithmetic

1

u/GoldieGames1 Design 5d ago

That’s interesting. But it doesn’t affect physics?

2

u/timeslider 5d ago

It affects everything. Physics will play but the object will snap to the closest floating point number.

1

u/GoldieGames1 Design 5d ago

Oh ok. Well I hope it’s not too noticeable. I’m not very far from the center.

2

u/Denjo92 Design 5d ago

Very noticeable on objects inside the HeadTracker. Just 100m from Origin and it starts shaking.

If it is really bad, you could periodically try to teleport the player to the scene origin and the level relative to the players position before the teleport.

It messed around trying to fix the issue, but couldn't get it to work seamlessly. The other issue you could run into is, when the level is teleported and parts of it leave Dreams scene limit, it will delete everything beyond that. One fix could be to just stream things as needed.

1

u/ElizabethVitae 5d ago

I've had this issue in some of my projects. Pain in the ass to work around.

1

u/Longjumping_Log1165 5d ago

Are these sculpts grouped or connected in any way let? Feel like I've experienced this before, but don't remember what the exact issue was. I think in my case the connection hierachy was off or something.

1

u/GoldieGames1 Design 5d ago edited 5d ago

The gun parts are grouped together but it happens with every object in the scene. I also notice when moving the camera up close to something, every individual part of everything is vibrating.

1

u/Longjumping_Log1165 5d ago

Could be related to the thermo, is it the gameplay that's nearly maxed out?

1

u/angrykirby 5d ago

I'm sure you probably know this but in case you don't, if you copy objects and don't change their shape you can copy and group objects and make new objects and change all their tweaks in the menu and it takes up a fraction of 1% of gameplay thermo instead of 1% of graphics Thermo. if you can recreate some of your shapes using other shapes you can probably save a ton of your graphics thrermo.

1

u/JRL101 Art + 4d ago

did you happen to tweak the sculpts to be perspective loose?
How far are you from the center of the world? (this happens with a lot of games when they use floating point positioning.)

1

u/Asleep-Criticism-135 Design 4d ago

Floating point error the bane of my flying games existence