1
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class PlacementMatching : RigidbodyMatchingBase
|
||||
{
|
||||
[Header("Placement")]
|
||||
public Vector3 TargetPosition;
|
||||
public Vector3 TargetRotation;
|
||||
|
||||
protected override void FixedUpdate()
|
||||
{
|
||||
SetTargetPlacement(TargetPosition, Quaternion.Euler(TargetRotation));
|
||||
|
||||
base.FixedUpdate();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user