当前位置:网站首页>0 foundation starts self-study unit notes control direction becomes larger
0 foundation starts self-study unit notes control direction becomes larger
2022-06-30 04:47:00 【Chef Li, who has just returned from cosmetic surgery in the Uni】
// Front, back, left, right
public Rigidbody rd; // Pre rigid body
void Update()
{
float f = Input.GetAxis("Horizontal");
float l = Input.GetAxis("Vertical");
rd.AddForce(new Vector3 (f,0,l));
}
private void OnTriggerEnter(Collider other) // label
{
int foodnum = 0;
if (other.tag == "Food")
{
Destroy(other.gameObject); // damage
foodnum += 1;
Vector3 scale = transform.localScale;// Bigger
transform.localScale = scale*(1 + foodnum);
}
边栏推荐
- Webots learning notes
- System programming summary
- IO stream, character read / write, copy
- QT 6.3.1conan software package release
- Enlist soldiers and generals, draw small programs, multi-threaded display time
- HTC vive cosmos development - handle button event
- SCM learning notes: interrupt learning
- Difference between request forwarding and redirection
- Sectigo certificate
- Junior students summarize JS basic interview questions
猜你喜欢

harbor api 2.0查询

Collective system
![Salary management system based on servlet+jsp+mysql [source code + database]](/img/4a/6015cf17f4297691e97b48a5592fc5.png)
Salary management system based on servlet+jsp+mysql [source code + database]

Intern method of string

Interprocess communication

Connect to the database and run node JS running database shows that the database is missing

什么是光耦电路,实际使用中应该注意些什么?

Lambda&Stream

Recommended cultural landmarks of these tourist attractions in Bangkok

Deep learning ----- different methods to realize inception-10
随机推荐
Window10 jar double click to run without response
Connect to the database and run node JS running database shows that the database is missing
Software digital signature certificate
Fair lock and unfair lock
Unit screenshot saved on the phone
System programming summary
Wildcard SSL certificate issuing time
National Museum of Singapore - give you spiritual and physical satisfaction
A collection of errors encountered in machine learning with unity
Five methods to clear floating and their advantages and disadvantages
My idea configuration
harbor api 2.0查询
Servlet lifecycle
File system and directory operations
QT 6.3.1conan software package release
Winter vacation parent-child tour, these new york attractions are not only fun but also knowledge
Autowired注解警告的解决办法
[FPGA] IIC读写EEPROM 的实现
Meet in Bangkok for a romantic trip on Valentine's Day
Websocket implementation principle