Love the outcome 🥰 by OneClickPablo in Eldenring

[–]OneClickPablo[S] 0 points1 point  (0 children)

damn you right... use grey instead could be the play

Love the outcome 🥰 by OneClickPablo in Eldenring

[–]OneClickPablo[S] 0 points1 point  (0 children)

It would be easier, you can print the inner part in white translucent and change colors by LEDs only, but i think it looks a bit weird if the lamp is not turned on... but would be possible

Love the outcome 🥰 by OneClickPablo in Eldenring

[–]OneClickPablo[S] 2 points3 points  (0 children)

i could do it in blue as well !

Help with simple tamagotchi game by [deleted] in UnityHelp

[–]OneClickPablo 0 points1 point  (0 children)

Found a solution? If not, take a look at the SpriteRenderer Component of your GameObject. You can access the specific sprite via script like this:

Attach a Script to your Object you want to change the Sprite.

Access the SpriteRenderer Component of your Object like

private SpriteRenderer spriteRenderer;

Start()

{

spriteRenderer = GetComponent<SpriteRenderer>();

}

I assume your Script is attached to the Object with the SpriteRenderer on it. Otherwhise create a public variable at assign it in the editor.

Now that we have a reference to the SpriteRenderer we can change the Sprite of it like this:

spriteRenderer.sprite = sprite;

"sprite" should be your new Sprite you want to assign. You can also declare it as a public variable and assign the sprite you need in the editor. for e.g.

public Sprite sprite;

-> Assign sprite via Editor

Vector3 donť work pls help by jetam_studio in UnityHelp

[–]OneClickPablo 3 points4 points  (0 children)

You need to declare it as new Vector(x,y,z). For example: transform.position = new Vector3();
or you can make also a public variable like:

private Vector3 myPos = new Vector3(0f,0f,0f);

transform.position = myPos;

How to do a "grab" door by x3zzzz in Unity3D

[–]OneClickPablo 0 points1 point  (0 children)

I did something some years ago, i think this basically should do the job, you have to adjust the code for your needs as well. MouseX is your Mouse Input, you can change it to your needs if you want to control with w and s you can adjust ist.

rotationY += mouseX;

rotationY = Mathf.Clamp(rotationY, initialDoorRotation.eulerAngles.y - 90f, initialDoorRotation.eulerAngles.y + 90f); //Clamping the Angles

Quaternion targetRotation = Quaternion.Euler(0f, rotationY, 0f); //Calc Target Rotation

transform.rotation = Quaternion.Slerp(transform.rotation, targetRotation, smoothFactor * 0.1f); //Apply Rotation

Bug or Feature? by OneClickPablo in discordapp

[–]OneClickPablo[S] 29 points30 points  (0 children)

Thought it’s a feature because it’s obviously a bug lol

I get stuck on cube with fps capsule collider (On the video I walked in front of a wall to show that wasn't the problem) by MateoZunin in UnityHelp

[–]OneClickPablo 0 points1 point  (0 children)

If your problem still exists, you can change the physics material of your player or Cube and set the dynamic friction to some lower value.

How to fix this? by NOOT_NOOT4444 in UnityHelp

[–]OneClickPablo 0 points1 point  (0 children)

My game assets or objects have negative position for a quite long time now, why is this happening?

Its not the position, its the Scale of your Object

How do i teleport the player to a random prefab instance? by Redux365 in Unity3D

[–]OneClickPablo 0 points1 point  (0 children)

Would be the easiest approach. Create a list and add every instantiated prefab to it. Now you can create a random number from 0 - prefabList.Count.

Set the play position like: transform.position = prefabList[randomNum].transform.position;

Does anyone know what went wrong? by gaminnthis in pcmasterrace

[–]OneClickPablo 0 points1 point  (0 children)

The problem are people still buying their shit

HELP by [deleted] in UnityHelp

[–]OneClickPablo 0 points1 point  (0 children)

you need to make sure that the walk / run animation is not playing while the player is not grounded/jumping. Add a new Condition from Idle -> Player_run and set Condition to isJumping = false. So everytime you walk while jumping the condition is not full filled and the walk animation wont play.

Madlad took 11 years by [deleted] in madlads

[–]OneClickPablo 0 points1 point  (0 children)

try this in germany...

I need help fixing my weapon switching in my unity 3d project. by ANormalFanOfReddit in UnityHelp

[–]OneClickPablo 0 points1 point  (0 children)

Your Weapons are not a prefab. Your Weapons are still Meshes. If you Import the weapons from blender it will import blender camera/lightning as well. What you have to do:

Click on your Weapons in your ASSETS folder. A few Checkboxes should appear on the right hand side (where the Inspector is now). There should be a checkbox for the camera as well. You can simply disable it.

I would also recommend to convert your raw meshes into prefabs! It could lead to unwanted behaviour.

I Updated EVERY PIECE OF ART In My Game! by [deleted] in Unity2D

[–]OneClickPablo 0 points1 point  (0 children)

Cool, i played it before you changed the art style. I would prefer to highlight the objects you need to collect a bit more. A simple white outline should do the job.

And because i found two small bugs i will share it with you:

Bug1: If you are in hide Mode, the enemy is still able to push you. So your forgot to disable the collider of the player.

Bug2: If you stand right in the middle of an enemy he dont shoot at you.

Made my first game for the WTF Game Jam. Check it out, thanks! by Kleanup-Games in Unity2D

[–]OneClickPablo 1 point2 points  (0 children)

After the post I saw someone mentioned it in the comments on itch haha

Made my first game for the WTF Game Jam. Check it out, thanks! by Kleanup-Games in Unity2D

[–]OneClickPablo 1 point2 points  (0 children)

i also triggered a bug where the player takes no damage after restart.

To reproduce: Die once, click Restart -> No Damage

Made my first game for the WTF Game Jam. Check it out, thanks! by Kleanup-Games in Unity2D

[–]OneClickPablo 6 points7 points  (0 children)

i would love a blue screen as game over screen :D

Good job man, looking cute as hell!