playMaker

Author Topic: Porting physics actions to NonAlloc physics?  (Read 2087 times)

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Porting physics actions to NonAlloc physics?
« on: April 17, 2016, 11:03:29 AM »
The newer versions of Unity now have NonAlloc 3d Physics options and from what I understand are more efficient than the standard types as they do garbage collection-

Can we simply edit our custom actions that use normal Raycasts/Spherecasts to use the NonAlloc options like this one? http://docs.unity3d.com/ScriptReference/Physics.RaycastNonAlloc.html

Seems like a quick and easy change to gain performance- are there any downsides to it? Thx
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Porting physics actions to NonAlloc physics?
« Reply #1 on: May 04, 2017, 01:34:00 AM »
Hi,

 Yep, we need to check this out and provide support for this for sure.

Please bump this regularly :) getting swamped with pending task I must clear up first.

 Bye,

 Jean