Unity Attach Weapon to Character

UnityTagUnity Attach Weapon to Character

In the following tutorial i will guide you through the process of attaching a weapon to a character using unity engine with a little bit of c# coding.

Ready to start , lets go , fire up unity and make sure you have a basic character with the desired weapon to attach make sure both of them are visible in the scene

In this tutorial we assume that your character is already rigged and has a valid bone structure , we need that to specify where the weapon is going to be attached , for more information regarding character bones and rigging .

Regardless if your not using a humanoid character you can just attach the weapon to any sub-mesh or even the original mesh itself,

WeaponAttachment

Once you get everything setup you need to create a small script to attach the weapon to the character , the script will have 3 states ,

  • Idle Position
  • Handheld Position
  • Shooting Position

You can add as many states as you wish but for this tutorial we are going to cover the three above , so lets get started

Read More

Openstack Nova Dashboard And Console Commands Not Executed

Openstack Post Tag

Generally this issue is caused by the Qppid or rabbitmq not synchronizing messages across the cluster , it can be debugged by looking into the Qppid messages stack , also you may try the simple fix below .

Make sure all compute services are up and running

Check the compute services are running on horizon dashboard

or you may execute the following command on the controller node

nova-manager service list

if all the compute services are up and running try restarting the Qppid service on the controller node , keep in mind that restarting Qppid would only reset the service and not flush the Qppid stack .

 

Information you should know about this article

Openstack Version : Havana

Operating System : Centos 6.5

 

Openstack L3 Agent Down on Dashboard

OpenstackTag

In case of L3 agents being down on the dashboard , you can update the agent state by applying the solution suggested below.

 

 

ISSUE  : Single L3 Agents has the state down on the horizon dashboard


SOLUTION : Restart the neutron server service on the controller node then restart openvswitch and openvswitch agent on the hypervisor of the affected node

ISSUE  : All L3 Agents Are Down on the horizon dashboard

SOLUTION : Restart openstack-nova-network on the controller node and on the affected machine

 

Information you should know about this article

Openstack Version : Havana

Operating System : Centos 6.5

Openstack Neutron Connection Tracking Issues

OpenstackTagThis issue happens when too many connections are being traced by the firewall to check the error do a simple “dmesg” and you should be able to find the following:

 

nf_conntrack: table full, dropping packet.

To get the current connection tracking number use the following commands

 /sbin/sysctl -a|grep -i nf_conntrack_max

To Count the current connection tracking use the following command

 cat /proc/net/nf_conntrack | wc -l

Note this wont give you the actual result when applied to the network node itself because every router is self contained you need to execute this command inside exec command see the example below

ip net exec qrouter-764f663e-db21-4ddb-8fbe-044826f6267f cat /proc/net/nf_conntrack | wc -l

To increase the connection tracking use the command below

echo 1656360 > /proc/sys/net/nf_conntrack_max

All commands above can be executed inside any openstack router

 

Information you should know about this article

Openstack Version : Havana

Operating System : Centos 6.5