Request - Suspend the physics of objects being overlapped UPBGE 2.5 #1680
LucasSnSouza
started this conversation in
Ideas/Features for UPBGE 0.2.5+
Replies: 2 comments 1 reply
-
Hi, I know this function until I made a code with raycast so that it suspends itself physically. however this method does not suspend the physics when the object is being superimposed. My doubt and idea is to make a Physics Cut when the object cannot be seen directly by the camera, because it is superimposed by another, in the same way that Camera Culling works for Rendering, but doing the same for the physics of the deleted objects. Sorry for the way of writing, English is not my native language. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm on a game project and one of the things I'm trying to solve for a while in my game, for performance. the game consists of building your own ships, in a system of blocks. and one of the performance problems that I identified would be, when an object is completely covered by the other blocks, I can hide this block from the Rasterization, but its physics is not disabled. as it would be a spaceship, this object will move this keeping the object always active, not sleeping, I'm not aware of anything that helps this in the current UPBGE 2.5. and I'm also not sure if I make this request or question here, but it would be very useful if possible. than Object Culling. can also suspend the physics of objects that are superimposed by others.
Beta Was this translation helpful? Give feedback.
All reactions