Edithson Abelard of Passion 47 is back with another Unity 3D video. Unity 3D Adding Force After Collision is detected Using Rigidbody Force.
In this video you will learn how to add force to an object using the rigidbody addForce method.
The scripting will be handled using javascript and will be very familiar to AS3 developers.
For more information or if you have questions or comments add Edithson Abelard you your google+ circle or follow him on Twitter @eabelard.
Interested in learning more about our services, find out more at Passion 47.
@Benbo212 You have a few ways, colliders, triggers and raycast. If you add a collider(mesh,capsual, box ...) you can check for both a trigger(if is trigger is set to true) or a collide event.
The RaycastHit allows you to project an invisible line out, and check every frame to see if it hits a game object.
If you need a very specific object, you can use the gameobject.name; or you can check for the gameobject tag.
eabelard 2 months ago
ok i have a question how do you detect an certain object without using the character controller?
Benbo212 2 months ago
@xJohnGx Thanks I always appreciate the feedback. Hope you enjoy the other videos as well.
eabelard 3 months ago
this is great! thanks for sharing Edithson. will be subbing for sure!
xJohnGx 3 months ago
@MightyMatty76 glad I was able to help, if I can help in any way with your #unity3d experience, just drop another comment and i would be more then happy to see what I can do. Hope to see your game soon.
eabelard 3 months ago
You my man are a star! This tutorial has turned days of aimlessness and frustration into sheer productivity and fun. My game prototype has life in it! I literally fist pumped the air in joy when I got my game adding force. Thanks so much!
MightyMatty76 3 months ago 2