Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - kaniballo

Pages: [1]
PlayMaker Help / How Playmaker interact with .dll
« on: September 09, 2020, 03:18:50 PM »
,... this is my question,... i had asset "CSG - Realtime Boolens operation on objects" from Asset Store,... it's DLL and author say use script put namespace etc,...

 How Playmaker can interact with this DLL i.e Get/Set Property or Call Method or ,... how,... tnx in advance for advice.

Hi all, here is one action from new Unity local physic scene mode,... It take mouse click and show trajectory, on second click trajectory gone and some GameObject fire at position where was clicked,...
 What is new here - it's create paralel (added in hierarchy) local physic scene on load doing trajectory simulation on this scene - stop simulation after done - and result fire GO. On main/default scene you must duplicate collision objects ,..example floor and wall (2 boxes with collider) - duplicate and put in action section 'go in simulation' - where they will go in Local Scene,.... The force is Add.Force Impulse - i.e you may control with ammo Rigidbody mass (little mass and small scale more fast object move,... and opposite). You have multiplier "force" who control speed on ammo too,... Ray Length for little optimisation,... and trajectory count - is most expansive - create samples where ammo/cannonball should go 100 is good start for little less trajectory - 300/500 for more long complex one,... i'm 'green inside' in programing ,.. so no clean code may be done - if someone can provide optimisation pls do it :)

Unity 2019.1.2f1
Playmaker 1.9.0p15

 ,...after set Call Method Advanced action and don't put value,... Playmaker State window freeze (black screen - don't show info) ,... other states continue to show normaly ,... only state where Call Method Advanced action is,...
Repro: on action set behaviour, set method name, set parameter,... click other state ,... return back where is  Call Method Advanced ,... voila - no more info.
Log throw error :
Bad ErrorCheck: HutongGames.PlayMaker.Actions.CallMethodAdvanced
System.ArgumentNullException: Value cannot be null.

PlayMaker Help / Get Property (Every Frame) - it is common practice?
« on: October 07, 2017, 11:31:53 AM »
 Hello good Community
I have to test the property 'speed' every frame if it is greater than 0.What I'm doing is ...
Start -> Get Component, ... put component in variable (agent speed) - Jean Fabre mentioned somewhere that such component is caching.

... next state, ..

Get Property (every frame) -> (speed), ... test if speed is greater than 0,... etc.,..

 My question is, is it usually done - take property in every frame?. Is bad practice ,...and should it be avoided (i can't avoid,.. logicaly must test against 0).
Is there any technique to soften this cheak 60 times per second ?.
  Thanks in advance.

PlayMaker Help / Collision 2D Event - detect on layer not only Tag?
« on: August 26, 2017, 08:01:29 AM »
Playmaker 1.8.5 - Unity 5.6.1.f1 - 2D Collision detection question,...
 Collision 2D Event (action) but on Layer not on Tag - like Get Next Overlap Circle(for example),that all - it's basic question but,... do you have idea guys how can be done?
I cheak all Actions -> Ecosystem -> Google -> forum here. I don't have scripting skills if necessary to modify default action (Collision 2D Event),... if can't be done the only alternative left is Get Next Overlap Circle?
 Tnx in advance and sorry if is stuped question - answered many time.

Pages: [1]