You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to detect when the player touches a floating cube, however neither Touch nor OnPhysicsCollision work with entities that aren't fully affected by physics (which makes the cube fall down).
Setting PhysicsEnabled = false; on an entity prevents OnPhysicsCollision from working, and there is no way to freeze PhysicsEnabled entities, so making my gamemode seems to be impossible.
Using Raycasts lets me detect if I'm standing directly on a platform, but I also want it to trigger when I touch the side of a platform.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to detect when the player touches a floating cube, however neither Touch nor OnPhysicsCollision work with entities that aren't fully affected by physics (which makes the cube fall down).
Setting
PhysicsEnabled = false;
on an entity prevents OnPhysicsCollision from working, and there is no way to freeze PhysicsEnabled entities, so making my gamemode seems to be impossible.Using Raycasts lets me detect if I'm standing directly on a platform, but I also want it to trigger when I touch the side of a platform.
Is there any way to do this?
Beta Was this translation helpful? Give feedback.
All reactions