Thursday 26 March 2015

rain_unity_Way_Point_Route_Enemy_Detection




1.Import RAIN package software from store either 4.6 or 5.2.

2.First select the player

3.Then goto RAIN window at the top of file menu

4.Create New AI.

5.Next you have to select Waypoint Route from the RAIN Menu

6.Next add Waypoints how many you want. (Waypoint Rig Inspector ==> Click add(Ctrl+W))

7.Next select Navigation mesh from Rain a square-box will open adjust the box into the waypoints (RAIN==> Create Navigation Mesh)

8.Next click on generate Navigation mesh (at Inspector(NavMesh Rig Component))

9.Next open the Behavior Editor from RAIN. create New behavior tree. Give the name what you want.

10.Next from behavior tree right click create root ->Decisions ->Waypointpath or patrol.

11.Next give the name in way-point route and in move target Variable.

12.Next create->Action->move to the before node.

13.Next give the same name given in move target variable to the variable in the move and how much speed you want to move the player.

14.Finally player will move in his route.


FOR Player Detection when he goes in his range


15.select parallel node from behavior tree.

16.Next select create->Action->detect give sensor name given in which player he want to detect given in entity and Aspect name should be same in player entity in quotations("")

17.Next give the same variable given above in the move position

Thursday 5 March 2015

chanakya’s thoughts (a sparrow and a foolish monkey)



  • A wise person will come to grief if he does the unwise acts of; giving advice to a foolish pupil, looking after a woman of loose character and keeping the company of a sad one who has lost his fortune.



According to Chanakya,
Offering advice to a stupid disciple brings more harm than doing any good. Remember the story about a sparrow and a monkey? A Sparrow once advised a foolish monkey who was shivering in the cold to make fire from warmth. The angry monkey killed the sparrow for daring to counsel it. Similarly sheltering a bad woman creates a problem and bring infamy to the provider of the shelter.
Anyone who is sad because of loss a money or health is always lamenting and cursing his ill luck. The complaining never ends. One who keeps company to such person also catches the sadness and becomes gloomy. His attitude becomes negative and he begins slipping down in his own work or profession. Besides, listening to the sad one’s constant complaints results in terrible loss of time who has sympathetic ears for others often get cheated, tricked into lending money or gets dragged into some misadventure which results in his becoming another sad one.