playMaker

Author Topic: How can I deactive objects that are far from camera?  (Read 1154 times)

Silicon Power

  • Full Member
  • ***
  • Posts: 186
How can I deactive objects that are far from camera?
« on: January 28, 2022, 03:44:51 PM »
Hi, My game is an open world game with a lot of game objects performance is poor so I need to disable game objects that are far from camera is there any action for this in play maker? I remember there was an action for this before but I can't find anything now.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: How can I deactive objects that are far from camera?
« Reply #1 on: January 29, 2022, 11:24:50 AM »
if its a large open world, you probably want to make a loading system and load/unload parts of your world.

there is an action called Is 'Visible In Camera Frustrum'

Silicon Power

  • Full Member
  • ***
  • Posts: 186
Re: How can I deactive objects that are far from camera?
« Reply #2 on: February 02, 2022, 05:56:24 PM »
if its a large open world, you probably want to make a loading system and load/unload parts of your world.

there is an action called Is 'Visible In Camera Frustrum'

Thank you, I found an action called "Game Object Is Visible" but there is a problem it can see object behind walls too! What about "'Visible In Camera Frustrum'"? Is this same as "Game Object Is Visible" action?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: How can I deactive objects that are far from camera?
« Reply #3 on: February 02, 2022, 08:45:00 PM »
Hi.
Best is to try out, i have not used those actions yet