Home > other >  Unity3d, rigid body and collision problem.??????????
Unity3d, rigid body and collision problem.??????????

Time:09-22

To do fishing, originally, then there is a serious problem! After the bullets burst blood buckled the net access to the fish, mainly fish detection to meet the net? If the fish body collision, the net with rigid body and the collision body, then it becomes, the net was play fly, and the bullet hit the net will also be playing, if give the fish a collision body and the rigid body, and a lot of fish like a collision will be full screen with dripping,,,,,,, how to solve this problem?????? If not to play, the net also can only use edge touching the fish, so it could not hit the net, a group of fish, just like a bullet, and I want to use after touching the fish line, fish in the net in the middle, so can a school of fish, the fish can also be detected by the net buckle blood,,,,,,,

CodePudding user response:

The collision of the fish body is set to trigger, and then the position of the control fish

CodePudding user response:

First of all, you should at least add a tag to fish object, or a available for identification of parameters, to distinguish the bullet, net, a fish, if you don't do any judgment, the fish will trigger blood determination,

Then, all starts with a bool parameter is the trigger, if you don't check, so if the object root on the rigid body components, can produce a physical drive, so if you want objects can detect collisions, but will not be flying again, the best istrigger hook,

CodePudding user response:

Such a simple collision detection, do not have to use the physical library...

CodePudding user response:

Rigid body upon the fish would be better for the net and the bullet will contact with fish

CodePudding user response:

This should use a trigger is better

CodePudding user response:

? Senior U3D engineer/master cheng
Job responsibilities:
1. Engaged in 3 d game client development work, responsible for the client's overall design, module division and the development of core modules;
2. Understand the game plot, and planning, art work, for the game logic module;
3. The client architecture design, core system, tuning,

Job requirements:
1. Bachelor degree or above, 5 years experience in game development.
2. Proficient in Unity3D game engine development and architecture design, familiar with network Unity3D game workflow and optimization;
3. Participated in Unity3D game main client module development (such as: UI, network, voice, rendering, skeletal animation, resource management, special effects, the terrain, scene management);
4. Understand the Unity3D shaderlab language and physics engine, familiar with computer graphics, network;
5. Have good coding habits, rigorous style of coding, clear and rigorous logic thinking, good problem analysis and problem solving skills;
6. Proficient in reading foreign language ability;
7. At least a complete mobile game project production is preferred;
8. There is sense of responsibility, compressive ability, execution, love of the game development, is willing to work with the company grow together,

If you are interested please feel free to contact me, I will to arrange a further communication, thank you for your understanding and support!
Mobile: 18701020940
QQ: 497534088

CodePudding user response:

You can set the penetration