playMaker

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.


Messages - blackant

Pages: [1] 2 3 ... 25
1
Playmaker Help / Re: Cinemachine Package Errors
« on: September 23, 2018, 10:24:47 PM »
this bug comes from the last update of cinemachine, cause i used it without problem and updated to the latest version, and now i have this bug too

waiting to get the answer you can just open the script and comment this line:
 
Code: [Select]
// _brain.m_CameraActivatedEvent.AddListener(HandleCameraActivatedAction);

2
Playmaker Help / Re: "Owner == null!"
« on: August 31, 2018, 12:34:24 AM »
unity 2018.2.5f1

3
Share New Actions / Re: Playmaker actions for post processing Stack V2
« on: August 31, 2018, 12:31:04 AM »
Thanks Jean,

i'll do it my futur tweets, and no i didn't make the music it's  a free one i grabbed on youtube directly.
 ;D

4
Share New Actions / Re: Playmkaer Action for TileWorld Creator
« on: August 30, 2018, 05:00:15 AM »
Thanks Jean,

yes my tweeter is https://twitter.com/blackantmaster

i also discovered this morning that i can use @madewithplaymaker as tag, i'll do it now. ;)

5
Share New Actions / Re: Playmaker actions for post processing Stack V2
« on: August 30, 2018, 04:53:00 AM »
Hi Guys,

i have updated the actions and reduced the price !

the new package is now on v1.3 available on the asset store.

updated the link on the first post

6
Playmaker Help / Re: Argument exception : need help
« on: August 29, 2018, 12:27:47 AM »
was super simple in fact. thanks i'm learning a lot.

7
Playmaker Help / Re: interior car steering wheel rotation
« on: August 28, 2018, 01:28:10 PM »
from my point of view an animation is best suited for this if you plane to get something stable, and so you'll can rotate the sterringwheel multiple times before it reach it's maximum value, then after that you can blend your animator with the value of the input.

8
Share New Actions / Playmaker Action for TileWorld Creator
« on: August 28, 2018, 01:16:46 PM »
Just because this tool is one of my favorite to create procedural levels on the fly, and also because i'm using it in my own project,

i did a serie of actions which allows you to control the awesome plugin and the are now available on the asset store !


9
Playmaker Help / Re: Argument exception : need help
« on: August 28, 2018, 11:52:22 AM »
Well, it helped me for the first step around it, but i'm confronting another problem:

UsedVolume.profile = ObjectProfile.Value ;

return this error:

Assets/Blackant Master Studio/Playmaker PostProcessing StackV2/PostProcessingVolumeParameters.cs(55,40): error CS0266: Cannot implicitly convert type `UnityEngine.Object' to `UnityEngine.Rendering.PostProcessing.PostProcessProfile'. An explicit conversion exists (are you missing a cast?)

the thing is that i can set my variable directly like that to get it to work:
public postProcessingProfile ObjectProfile; but by this method i can't use the strength of playmaker...

10
Playmaker Help / Re: Argument exception : need help
« on: August 28, 2018, 10:53:36 AM »
haaa yes of course, this is the file we drop inside the postprocessing volume !
i understand better now ^^

thanks ;D

11
Playmaker Help / Argument exception : need help [SOLVED]
« on: August 27, 2018, 06:22:16 AM »
Hello,

i have been working on my Post processing actions, which where working nice before this little update...

i replaced my first variables  to get the PostProcessing Profile and Volume by an FSMOwner

The code is absolutely perfect and doesn't give error.

But when i enter the game, it returns me this error:

ArgumentException: GetComponent requires that the requested component 'PostProcessProfile' derives from MonoBehaviour or Component or is an interface.
UnityEngine.GameObject.GetComponent[PostProcessProfile] () (at C:/buildslave/unity/build/Runtime/Export/GameObject.bindings.cs:28)
HutongGames.PlayMaker.Actions.PostProcessingDepthOfField.SetDoF () (at Assets/PlayMaker/Actions/Post Processing/PostProcessingDepthOfField.cs:95)
HutongGames.PlayMaker.Actions.PostProcessingDepthOfField.OnEnter () (at Assets/PlayMaker/Actions/Post Processing/PostProcessingDepthOfField.cs:76)
HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState.OnEnter () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2767)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2714)
HutongGames.PlayMaker.Fsm.UpdateStateChanges () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm.Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1925)
PlayMakerFSM.Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:548)

here is the parts of code for my action:

Code: [Select]
[ActionCategory("Post Processing Stack V2")]
[Tooltip("Modify Depth of Field during runtime.")]
public class PostProcessingDepthOfField : FsmStateAction
{
#region public variables
[RequiredField]
[ObjectType(typeof(PostProcessVolume))]
[Tooltip("Post Processing Profile to modify")]
public FsmOwnerDefault ObjectVolume;

[RequiredField]
[ObjectType(typeof(PostProcessProfile))]
[Tooltip("Post Processing Profile to modify")]
public FsmOwnerDefault ObjectProfile;

...
                if(ObjectVolume !=null)
{
var go = Fsm.GetOwnerDefaultTarget(ObjectVolume);
var UsedVolume = go.GetComponent<PostProcessVolume>();
var UsedProfile = go.GetComponent<PostProcessProfile>();
UsedVolume.profile.TryGetSettings(out DofLayer);

so i tryed to replace FsmStateAction by Monobehaviour, and got some changes to make around void, and finally got stuck with another error message on the Fsm.GetOwnerDefaultTarget();

An object reference is required for the non-static field, method, or property 'Fsm.GetOwnerDefaultTarget(FsmOwnerDefault)'


12
Playmaker Bug Reporting / Re: Global Variables Categories bug
« on: August 27, 2018, 12:05:35 AM »
today after re-opening my project i got another error linked directly to this old and new variable with the same name. they are both missing.

so before reworking the whole FSms, i share this and i understand better why this is better to avoid them..


13
Playmaker Bug Reporting / Re: Global Variables Categories bug
« on: August 25, 2018, 12:18:41 AM »
good to know, i think i had a bad approach of using my variables.

thanks, i ll have to rewrite a big part of my game,

but could you clarify the interest of the global variables if only 2 / 3 must be used  ?

14
Playmaker Bug Reporting / Re: Global Variables Categories bug
« on: August 24, 2018, 06:17:35 AM »
Get FsmVariable is less expensive than global variables ?

i used global to avoid to recall them between each because i use a lot of different scenes, but i'm not a specialist with coding

15
Feature Requests / +- Sign in actions
« on: August 24, 2018, 05:32:21 AM »
i have take a screenshot to be clear,
while reading me actions steps sometimes i'm a bit confuse about what i read on the IntAdd Action, just because au sign + or - is missing between my variable's name and the value to Add


Pages: [1] 2 3 ... 25