Forget my bad English, just focus on what i did. I searched for a huge posts on the Internet, but “Add image target to cloud of Vuforia” topics are a little bit, and all of them support for native java. That made I have coding for myself (reference some code from vuforia forum) and I succeeded. So, I want to share my code for help other people like me. Let’s begin !
This post will show you how to create a cannon ball or shooting object with a power and direction.
step 1: create a sphere with the size as you want.
step 2: add Rigidbody to the sphere.
– At here, if you want to add a Collider to sphere you may have to change a value of “Collision Detection” in Rigidbody to “Continuous” or “Continuous Dynamic”, because if you stay the value of Collision Detection = Discrete, it will not happen when you add physics to it. It’s up to you! Tiếp tục đọc
step 1: add collider to your terrain // thêm colider vào terrain
step 2: add sphere or somethings else to your scene/ thêm 1 sphere hoặc cái gì đó vào scene
step 3: create a script c# and copy this script / tạo 1 script bằng c# và copy cái script ở dưới vào Tiếp tục đọc
Hi, this is not my own, I just want to share with other people and backup for me to easier re-study when i need. If you don’t like this post, you can go to here to read the main post !
In this article I will introduce the networking functionality included in Unity. I will build a simple authorative server solution, introduce the NetworkView component, and show you how RPCs can be used. The screenshots are from Unity 3.5, but the solution works for Unity 4.0 as well.
Table of Contents
- A brief history of networking
- A Unity server
- Client and server projects
- A Unity client
- Your First Networking Solution
- Network View
- Network Instantiate
- Authorative Server
- Improved Spawning