Recent content by EVG

  1. EVG

    A trigger must exist on the ObjectPickup component on the GameObject

    Good afternoon. Is it mandatory to use a trigger on an object pickup? I use item pickup via script using interactable. But every time I get an error, if I do not delete it manually, Error: A trigger must exist on the ObjectPickup component on the GameObject. I use a transition script, and in the...
  2. EVG

    Updated interact in version 2.2

    Is it possible to prevent child colliders from responding to the interacting parent?
  3. EVG

    Updated interact in version 2.2

    Good afternoon. I understand that interact was updated in version 2.2. And now, if an interactive object has an interactive parent, then only the parent object's interactive works. How to make sure that both the parent and child objects can interact separately? Sorry for the bad english.
  4. EVG

    How to move a character or camera using third-party plugins (e.g. Dotween)?

    Hello. I have such a question, maybe it may seem silly, but still. How to move a character or camera using third-party plugins (e.g. Dotween)? Example: I hang a dotween animation script on a character’s camera and move it to the position I need, but after the movement has finished, the camera’s...
  5. EVG

    How to find a dropped prefab?

    Good afternoon. I am dropped the item with the code inventory.RemoveItem (inventory.GetItem(0).ItemType, 0, true); How to find a link to a dropped object?
  6. EVG

    Moving platforms for Dotween

    Good afternoon, I use Dotween to move some objects and I want to use them as a moving platform, but it does not work properly, everything is shaking. I read in the documentation that moving platforms can be used either through the Moving Platform component or through the Animator Update...
  7. EVG

    Unable to pool

    Also, he suggests simplifying the code and removing ObjectPool. Maybe that's why he does not create it correctly?
  8. EVG

    Unable to pool

    I get the same error. I can not understand the reason
  9. EVG

    Drop weapons as in the CSGO

    How to make it fly a little forward when a weapon drops? Good example: CS: GO
  10. EVG

    Name of weapon when taking damage

    This works if you hang a script with an event on the collider. But what to do when there are a lot of hitboxes? Weigh in every collider script with catching events?
  11. EVG

    Name of weapon when taking damage

    Good afternoon. How do you know which weapon was damaged?
  12. EVG

    Disable ammo drop with main weapon

    Good day. When I drop the main weapon, then ammo drops with it, how to remove it? I need only the weapon to drop, and the ammo to remain in the inventory.
  13. EVG

    Invalid Count value in inventory

    Good. Thanks.
  14. EVG

    Invalid Count value in inventory

    So it reduces even if I don’t have a weapon. Please note that in my inventory there are only arrows, without the main weapon, that is, it cannot be charged, but it is still reduced. So it should be?
  15. EVG

    Invalid Count value in inventory

    Even if you add it to the Default Loadout, then after starting the scene, it also displays one less value.
Top