Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Seiryu33 on December 31, 2021, 10:15:38 PM

Title: Transform does not exist in the current context.
Post by: Seiryu33 on December 31, 2021, 10:15:38 PM
So I'm currently trying to create a compass that always points to the current objective. I script I wrote for it works as a C# script, but when i try to use it as Playmaker action it returns an error of "transform does not exist in the current context." See the attached screenshot. It works perfectly fine otherwise. I want it update which the current method doesn't allow for. How do I fix this issue in Playmaker?
Title: Re: Transform does not exist in the current context.
Post by: djaydino on January 01, 2022, 01:33:26 PM
Hi.
The image is to low resolution to read, can you make a better image or you can use Paste bin and place a link to it in your post
Title: Re: Transform does not exist in the current context.
Post by: Seiryu33 on January 01, 2022, 06:33:53 PM
I wasn't sure if it would attach at this size. But this is the problem in a nutshell. For some reason, it only returns this error as an FSM.
Title: Re: Transform does not exist in the current context.
Post by: djaydino on January 01, 2022, 09:55:05 PM
Hi.
There is no object set.

Take a look at the Set Position action for example.
Title: Re: Transform does not exist in the current context.
Post by: Seiryu33 on February 14, 2022, 09:06:37 PM
Reviving this because I managed to get it to work, but now i have a new problem that ties into this: The Compass won't point down under any circumstance. It'll point up, left and right, but not down. What am I missing in my code?