Disable Sk controller models #36
@@ -43,6 +43,7 @@ pub struct SkController {
|
|||||||
}
|
}
|
||||||
impl SkController {
|
impl SkController {
|
||||||
pub fn new(connection: &Connection, handed: Handed) -> Result<Self> {
|
pub fn new(connection: &Connection, handed: Handed) -> Result<Self> {
|
||||||
|
Input::set_controller_model(handed, Some(Model::new()));
|
||||||
let (spatial, object_handle) = SpatialRef::create(
|
let (spatial, object_handle) = SpatialRef::create(
|
||||||
connection,
|
connection,
|
||||||
&("/org/stardustxr/Controller/".to_string()
|
&("/org/stardustxr/Controller/".to_string()
|
||||||
|
|||||||
Reference in New Issue
Block a user