Welcome to the Game Creator support forum!
This a place to ask questions, discuss ideas and report bugs. Please, provide your Unity and Game Creator versions as well as clear reproduction steps when opening a topic and full console logs.
Got an issue with this boolean not being recognised on starting the game. Wasn't a problem until the last update.
Hi Janus. Took a while, but I think I know where the problem is. First of all, the first console log that says "Set Visibility" is a log that shouldn't be there, and I'll make sure to remove it on the next update :-)
Secondly, the name of the variable is RainOn/Off. Local Variable names use the reserved character "/" to access nested variables. For example, if you have a Game Object variable called A that points to an object with another Local Variable called B, you can access B by accessing the variable name: A/B (like if they where folders).
So the solution would be to change the name of the variable to something like Rain-On-Off. I'll make sure to forbid adding this character on the next update!
would it be possible to have an action that detects if the player/character fell from a certain height in order to take damage or die?
I'm marking this topic as complete. It's already been implemented and will be available on version 1.0.2
I'm having some issues with the first person controller quickly rotating whenever i start a scene. It quickly acts as if the cam is turned the opposite way, and then quickly janks to the set view.
I have my acceleration and deceleration set at 300 which causes this: https://streamable.com/2a5gw
Is this a bug or am I supposed to use a lower acceleration/deceleration?
There are no problems in first person with model hidden though, which is mostly what I need high acceleration/deceleration for.
I'm marking this issue as fixed. We identified the problem as is going to be shipped with Game Creator version 1.0.2. Feel free to reopen if the problem persists afterwards.
How do I stop the character's head from turning like this: https://streamable.com/dvrn6
I don't know any game that does this.
I'm closing this issue since it's been fixed in version 1.0.2, which should be available between today and tomorrow. I've increased the default speed at which the character will turn its head as well as increased the angle at which it will turn.
Got an issue with this and I need help - I can't set it up the trigger On Collision Enter with the Player being the other collider because that requires the prefab I want to instantiate being moved into the Scene...and if I do that, the instantiated object becomes a clone and the 'destroy on finish' destroys the original item and not the clone.
I've even gone as far as to add a capsule collider trigger to the object I want to instantiate in case it was something to do with the object having a mesh collider.
I need to be walked through this because I'm going to need this information for a lot of stuff :P
Check out the latest Game Creator version 1.0.1 (available on the Asset Store tomorrow). The Instantiate Action comes with an optional parameter that allows you to store the instance created in a Local, Global or List Variable.
You can then use it to destroy the instance, rather than the prefab ;-)
"The Combat view type extends the Third Person view type while keeping the camera rotated to the same local yaw value as the character. This in effect will always have the character rotated in the same forward direction as the camera."
I took this description from another asset because it describes clearly what I want. Is it possible to do this currently?
There's the Character Direction property under the Advanced Parameters. You'll find it in the Character's Inspector. By default, the character rotates towards where he/she moves but you can set it to Camera Direction. This will effectively make the character always face the same direction as the camera.
You can also swap between Camera Direction and Locomotion Direction at runtime using the Change Direction Action.
Regarding combat, I can't see to find a way to turn on/off colliders. When I get close to an enemy even without attacking the collider on the weapon touches the enemy and damages it. Id like it to wait till the attack input has been pressed. Any ideas?https://www.loom.com/share/4bea03c814fc4e48af1486f2009c3806 You can see it here.
As @ProfPivec says, what you're looking for is enabling and disabling the Collider when the attack happens. A user called @Necka created a script that allows to enable/disable a Collider using the animation clip event system.
Here is the script: AttackAnimEvent (1).cs
How to use it:
Drag and drop this script where the Animator component is and drag and drop the Collider object onto the corresponding field.
Now open the Animation Clip of your attack and scroll down to the bottom. Identify which frame should the attack start and which should end.
In each frame, create a new event and use the name StartAttack and EndAttack. This will effectively enable the Collider while the attack is being played.
The Animation Clip communicates with the script attached to the Animator and calls the StartAttack and EndAttack functions which enable and disable the Collider component attached.
PS: I can't tag a mentioned user. Nonetheless, all credit goes to the Discord user @Necka.
What is the best way to play an effect on location? Say particles when opening a chest. I'm trying to instantiate prefabed FXs but they seem to activate on player enter radius rather than the selected key down trigger.
The "On Key Down" Trigger doesn't have a target object. These events fire as soon as the user presses the key, without the need to facing, being near or aiming at a specific object.
If you want to instantiate a particle effect on a particular object when you press a certain key, you can use the Instantiate Action, but instead of using the "Invoker" as the position, select the "Game Object" option and drag where you want the particle effect to be spawned.
You might also be interested in interacting with an object when the Player is near it and presses a key. This can be achieved using the "On Player Enter Key". This Trigger will react when the Player is within the radius of the current object's Collider and the user presses a given key.
I have tried many different parameters on the Main Camera as well as the GC Camera Motor, the the camera still does not avoid the walls or any object.
I posted a video on the discord channel, because it is easier than sticking in on youtube .
Fixed the issue by deleting and recreating the Camera motor. It appears that it was a wall clipping layer setting.
Please Close this problem,
Customer support service by UserEcho